* [PATCH 1/1] rcu: select IRQ_WORK from TREE_PREEMPT_RCU
@ 2013-07-25 14:34 James Hogan
2013-07-25 15:26 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: James Hogan @ 2013-07-25 14:34 UTC (permalink / raw)
To: linux-kernel
Cc: James Hogan, Steven Rostedt, Paul E. McKenney, Dipankar Sarma
TREE_RCU and TREE_PREEMPT_RCU both cause kernel/rcutree.c to be built,
but only TREE_RCU selects IRQ_WORK, which can result in an undefined
reference to irq_work_queue for some (random) configs:
kernel/built-in.o In function `rcu_start_gp_advanced':
kernel/rcutree.c:1564: undefined reference to `irq_work_queue'
Select IRQ_WORK from TREE_PREEMPT_RCU too to fix this.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Dipankar Sarma <dipankar@in.ibm.com>
---
init/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/init/Kconfig b/init/Kconfig
index 247084b..c08a549 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -470,6 +470,7 @@ config TREE_RCU
config TREE_PREEMPT_RCU
bool "Preemptible tree-based hierarchical RCU"
depends on PREEMPT
+ select IRQ_WORK
help
This option selects the RCU implementation that is
designed for very large SMP systems with hundreds or
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] rcu: select IRQ_WORK from TREE_PREEMPT_RCU
2013-07-25 14:34 [PATCH 1/1] rcu: select IRQ_WORK from TREE_PREEMPT_RCU James Hogan
@ 2013-07-25 15:26 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2013-07-25 15:26 UTC (permalink / raw)
To: James Hogan; +Cc: linux-kernel, Steven Rostedt, Dipankar Sarma
On Thu, Jul 25, 2013 at 03:34:25PM +0100, James Hogan wrote:
> TREE_RCU and TREE_PREEMPT_RCU both cause kernel/rcutree.c to be built,
> but only TREE_RCU selects IRQ_WORK, which can result in an undefined
> reference to irq_work_queue for some (random) configs:
>
> kernel/built-in.o In function `rcu_start_gp_advanced':
> kernel/rcutree.c:1564: undefined reference to `irq_work_queue'
>
> Select IRQ_WORK from TREE_PREEMPT_RCU too to fix this.
Queued for 3.12, good catch, James!
Thanx, Paul
> Signed-off-by: James Hogan <james.hogan@imgtec.com>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Cc: Dipankar Sarma <dipankar@in.ibm.com>
> ---
> init/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index 247084b..c08a549 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -470,6 +470,7 @@ config TREE_RCU
> config TREE_PREEMPT_RCU
> bool "Preemptible tree-based hierarchical RCU"
> depends on PREEMPT
> + select IRQ_WORK
> help
> This option selects the RCU implementation that is
> designed for very large SMP systems with hundreds or
> --
> 1.8.1.2
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-25 15:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 14:34 [PATCH 1/1] rcu: select IRQ_WORK from TREE_PREEMPT_RCU James Hogan
2013-07-25 15:26 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox