diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-03-04 15:41:24 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-27 12:58:00 -0700 |
commit | 3382adbc1bb8c80ea512243acf6059564287620b (patch) | |
tree | d9244774e5c051c68ebd5409bf55e7f23296ee53 /include/linux/rcutree.h | |
parent | 2927a689e8ad5c12d6300b41e873d2b7957bc0e1 (diff) | |
download | linux-3382adbc1bb8c80ea512243acf6059564287620b.tar.gz linux-3382adbc1bb8c80ea512243acf6059564287620b.tar.bz2 linux-3382adbc1bb8c80ea512243acf6059564287620b.zip |
rcu: Eliminate a few CONFIG_RCU_NOCB_CPU_ALL #ifdefs
This commit converts several CONFIG_RCU_NOCB_CPU_ALL #ifdefs to
instead use IS_ENABLED(). This change should help avoid hiding
code from compiler diagnostics.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r-- | include/linux/rcutree.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index d2e583a6aaca..0bd400b02430 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h @@ -31,9 +31,7 @@ #define __LINUX_RCUTREE_H void rcu_note_context_switch(void); -#ifndef CONFIG_RCU_NOCB_CPU_ALL int rcu_needs_cpu(unsigned long *delta_jiffies); -#endif /* #ifndef CONFIG_RCU_NOCB_CPU_ALL */ void rcu_cpu_stall_reset(void); /* |