diff options
author | John Kacur <jkacur@redhat.com> | 2011-11-14 02:44:42 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-11 11:07:46 -0500 |
commit | e18ff12327bc15044ecc508ec3a21fe758b07d0e (patch) | |
tree | cd9e420a52275d487017fef8a92256725212f229 /include/linux/mpage.h | |
parent | 5f9d7f17c8bd2efb468bd096d935e94bfaec35ba (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)
synchronize_rcu_bh() is not just called as a normal function, but can
also be referenced as a function pointer. When CONFIG_PREEMPT_RT_FULL
is enabled, synchronize_rcu_bh() is defined as synchronize_rcu(), but
needs to be defined without the parenthesis because the compiler will
complain when synchronize_rcu_bh is referenced as a function pointer
and not a function.
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>
Diffstat (limited to 'include/linux/mpage.h')
0 files changed, 0 insertions, 0 deletions