The patch titled
     Fix compile if PREEMPT_RCU is set, but RCU_TRACE isn't
has been added to the -mm tree.  Its filename is
     rcu-debug-trace-for-rcu-fix.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Fix compile if PREEMPT_RCU is set, but RCU_TRACE isn't
From: Bernhard Rosenkraenzer <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Cc: Dipankar Sarma <[EMAIL PROTECTED]>
Cc: Paul McKenney <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 kernel/rcupreempt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/rcupreempt.c~rcu-debug-trace-for-rcu-fix kernel/rcupreempt.c
--- a/kernel/rcupreempt.c~rcu-debug-trace-for-rcu-fix
+++ a/kernel/rcupreempt.c
@@ -619,7 +619,7 @@ void synchronize_kernel(void)
        synchronize_rcu();
 }
 
-#ifdef RCU_TRACE
+#ifdef CONFIG_RCU_TRACE
 int *rcupreempt_flipctr(int cpu)
 {
        return &per_cpu(rcu_flipctr, cpu)[0];
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

rcu-debug-trace-for-rcu-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to