Re: [PATCH] irq_work: Fix build failure when CONFIG_IRQ_WORK not defined
From: Peter Zijlstra
Date: Fri Mar 20 2015 - 06:12:26 EST
On Thu, Mar 19, 2015 at 10:18:51AM -0400, Steven Rostedt wrote:
> When CONFIG_IRQ_WORK is not defined (difficult to do, as it also
> requires CONFIG_PRINTK not to be defined), we get a build failure:
>
> kernel/built-in.o: In function `flush_smp_call_function_queue':
> kernel/smp.c:263: undefined reference to `irq_work_run'
> kernel/smp.c:263: undefined reference to `irq_work_run'
> Makefile:933: recipe for target 'vmlinux' failed
>
> Simplest thing to do is to make irq_work_run() a nop when not set.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/