* [PATCH] 2.6.20-rc6-mm1: Fix compile if PREEMPT_RCU is set, but RCU_TRACE isn't
@ 2007-01-28 22:44 Bernhard Rosenkraenzer
0 siblings, 0 replies; only message in thread
From: Bernhard Rosenkraenzer @ 2007-01-28 22:44 UTC (permalink / raw)
To: linux-kernel, akpm
2.6.20-rc6-mm1 fails to compile if CONFIG_PREEMPT_RCU is set and
CONFIG_RCU_TRACE isn' -- the fix is fairly obvious.
Signed-off-by: Bernhard Rosenkraenzer <bero@arklinux.org>
---
--- linux-2.6.19/kernel/rcupreempt.c.ark 2007-01-28 23:38:07.000000000 +0100
+++ linux-2.6.19/kernel/rcupreempt.c 2007-01-28 23:38:12.000000000 +0100
@@ -619,7 +619,7 @@
synchronize_rcu();
}
-#ifdef RCU_TRACE
+#ifdef CONFIG_RCU_TRACE
int *rcupreempt_flipctr(int cpu)
{
return &per_cpu(rcu_flipctr, cpu)[0];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-29 14:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-28 22:44 [PATCH] 2.6.20-rc6-mm1: Fix compile if PREEMPT_RCU is set, but RCU_TRACE isn't Bernhard Rosenkraenzer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.