diff options
author | John Kacur <jkacur@redhat.com> | 2011-11-14 02:44:42 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-11-14 11:02:02 -0600 |
commit | 0b65d1e6bf24f0da16baa8275c9dd21bcb4378e1 (patch) | |
tree | 8c5e27a60bdd316b1232f54e75fd4ad8a97041f6 | |
parent | b8ee33eeefaac6956e3877d1414a94fc450bf8bb (diff) |
rcu: Fix macro substitution for synchronize_rcu_bh() on RT
kernel/rcutorture.c:492: error: ‘synchronize_rcu_bh’ undeclared here (not in a function)
In CONFIG_PREEMPT_RT_FULL doesn't cover function pointer assignment
unless we remove the brackets.
Signed-off-by: John Kacur <jkacur@redhat.com>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: stable-rt@vger.kernel.org
Link: http://lkml.kernel.org/r/1321235083-21756-1-git-send-email-jkacur@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/linux/rcutree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 800b8404c257..6e503a364be6 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h @@ -60,7 +60,7 @@ static inline void exit_rcu(void) #ifndef CONFIG_PREEMPT_RT_FULL extern void synchronize_rcu_bh(void); #else -# define synchronize_rcu_bh() synchronize_rcu() +# define synchronize_rcu_bh synchronize_rcu #endif extern void synchronize_sched_expedited(void); extern void synchronize_rcu_expedited(void); |