From: Peter Zijlstra <peterz@infradead.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] irq_work: Fix build failure when CONFIG_IRQ_WORK not defined
Date: Fri, 20 Mar 2015 11:12:10 +0100 [thread overview]
Message-ID: <20150320101210.GX23123@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20150319101851.4d224d9b@gandalf.local.home>
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@goodmis.org>
Thanks!
next prev parent reply other threads:[~2015-03-20 10:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 14:18 Steven Rostedt
2015-03-20 10:12 ` Peter Zijlstra [this message]
2015-03-23 12:25 ` [tip:sched/core] irq_work: Fix build failure when CONFIG_IRQ_WORK is " tip-bot for Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150320101210.GX23123@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome