mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
irq_work: Define irq_work_single() on !CONFIG_IRQ_WORK too
Some SMP platforms don't have CONFIG_IRQ_WORK defined, resulting in a link error at build time. Define a stub and clean up the prototype definitions. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
1f8db41505
commit
25de110d14
2 changed files with 2 additions and 2 deletions
|
@ -194,8 +194,6 @@ void generic_smp_call_function_single_interrupt(void)
|
|||
flush_smp_call_function_queue(true);
|
||||
}
|
||||
|
||||
extern void irq_work_single(void *);
|
||||
|
||||
/**
|
||||
* flush_smp_call_function_queue - Flush pending smp-call-function callbacks
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue