[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150320101210.GX23123@twins.programming.kicks-ass.net>
Date: Fri, 20 Mar 2015 11:12:10 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] irq_work: Fix build failure when CONFIG_IRQ_WORK not
defined
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@...dmis.org>
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists