aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rcupdate.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2009-10-26 16:57:44 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-27 09:59:28 -0400
commit2c28e2451dba2260e9f88811b29a7787db7e7616 (patch)
treec0f0cf0665566ebccd013bb37b02dcdaa3e04649 /include/linux/rcupdate.h
parent88b91c7ca49bc8600cf1106eb891d08c1965b9ce (diff)
rcu: Fix TINY_RCU #elif condition
Some compilers are happy with "#elif CONFIG_RCU_TINY", while others strongly prefer "#elif defined(CONFIG_RCU_TINY)". Change to the latter to make more compilers happy. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: laijs@cn.fujitsu.com Cc: dipankar@in.ibm.com Cc: mathieu.desnoyers@polymtl.ca Cc: josh@joshtriplett.org Cc: dvhltc@us.ibm.com Cc: niv@us.ibm.com Cc: peterz@infradead.org Cc: rostedt@goodmis.org Cc: Valdis.Kletnieks@vt.edu Cc: dhowells@redhat.com LKML-Reference: <12565906642768-git-send-email-> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r--include/linux/rcupdate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 6dd71fa48429..2f1bc42a3b82 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -77,7 +77,7 @@ extern int rcu_scheduler_active;
77 77
78#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) 78#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU)
79#include <linux/rcutree.h> 79#include <linux/rcutree.h>
80#elif CONFIG_TINY_RCU 80#elif defined(CONFIG_TINY_RCU)
81#include <linux/rcutiny.h> 81#include <linux/rcutiny.h>
82#else 82#else
83#error "Unknown RCU implementation specified to kernel configuration" 83#error "Unknown RCU implementation specified to kernel configuration"