diff options
author | James Hogan <[email protected]> | 2013-03-22 15:04:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-03-22 16:41:19 -0700 |
commit | fe8d52614bd419cedef85ef55850fd090373f481 (patch) | |
tree | d75e03f0b382711bc051cdea5b29af84e52a671c /tools | |
parent | 9217cbb8df31c10efc96362227b2ebdbb9fe996c (diff) |
irq_work.h: fix warning when CONFIG_IRQ_WORK=n
A randconfig caught repeated compiler warnings when CONFIG_IRQ_WORK=n
due to the definition of a non-inline static function in
<linux/irq_work.h>:
include/linux/irq_work.h +40 : warning: 'irq_work_needs_cpu' defined but not used
Make it inline to supress the warning. This is caused commit
00b42959106a ("irq_work: Don't stop the tick with pending works") merged
in v3.9-rc1.
Signed-off-by: James Hogan <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions