diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2016-12-14 15:06:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:08 -0800 |
commit | b6f8a92c9ca835b4a079ecee8433d0d110398448 (patch) | |
tree | cbf295b99a4a794ce509ae6b3b5b978c6e49c856 /drivers/char/tile-srom.c | |
parent | 63980c80e1e99cb324942f3b5e59657025af47c0 (diff) | |
download | linux-b6f8a92c9ca835b4a079ecee8433d0d110398448.tar.bz2 |
posix-timers: give lazy compilers some help optimizing code away
The OpenRISC compiler (so far) fails to optimize away a large portion of
code containing a reference to posix_timer_event in alarmtimer.c when
CONFIG_POSIX_TIMERS is unset. Let's give it a direct clue to let the
build succeed.
This fixes
[linux-next:master 6682/7183] alarmtimer.c:undefined reference to `posix_timer_event'
reported by kbuild test robot.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/tile-srom.c')
0 files changed, 0 insertions, 0 deletions