diff options
author | Nicolas Pitre <[email protected]> | 2016-12-14 15:06:13 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-12-14 16:04:08 -0800 |
commit | b6f8a92c9ca835b4a079ecee8433d0d110398448 (patch) | |
tree | cbf295b99a4a794ce509ae6b3b5b978c6e49c856 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 63980c80e1e99cb324942f3b5e59657025af47c0 (diff) |
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 <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Josh Triplett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions