diff options
author | Ingo Molnar <mingo@kernel.org> | 2020-06-02 12:08:39 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-06-02 12:34:45 +0200 |
commit | 25de110d148666752dc0e0da7a0b69de31cd7098 (patch) | |
tree | e262d0831720ae7ac354d3cee27e96b0e0dc4b3e /kernel/smp.c | |
parent | 1f8db4150536431b031585ecc2a6793f69245de2 (diff) | |
download | lwn-25de110d148666752dc0e0da7a0b69de31cd7098.tar.gz lwn-25de110d148666752dc0e0da7a0b69de31cd7098.zip |
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>
Diffstat (limited to 'kernel/smp.c')
-rw-r--r-- | kernel/smp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/smp.c b/kernel/smp.c index 4dec04f7fdc5..c80486a7e3b8 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -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 * |