Skip to contentSkip to conversation

2.6.20-rc6-mm1: Fix compile if PREEMPT_RCU is set, but RCU_TRACE isn't

PATCH New Bernhard Rosenkraenzer 1 participant 1 message Jan 29, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.20-rc6-mm1: Fix compile if PREEMPT_RCU is set, but RCU_TRACE isn't

2.6.20-rc6-mm1 fails to compile if CONFIG_PREEMPT_RCU is set and CONFIG_RCU_TRACE isn' -- the fix is fairly obvious.

---

kernel/rcupreempt.c renamed from kernel/rcupreempt.c.ark +1 -1
@@ -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];