rcu: fix TINY_RCU #elif condition
PATCH 1/1 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 <[email protected]>
--- include/linux/rcupdate.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/rcupdate.h +1 -1
@@ -77,7 +77,7 @@ extern int rcu_scheduler_active;#if defined(CONFIG_TREE_RCU ) || defined(CONFIG_TREE_PREEMPT_RCU )#include <linux/rcutree.h> -#elif CONFIG_TINY_RCU +#elif defined(CONFIG_TINY_RCU )#include <linux/rcutiny.h> #else #error "Unknown RCU implementation specified to kernel configuration"
Signature · 1 line
1.5.2.5
[tip:core/rcu] rcu: Fix TINY_RCU #elif condition
Commit-ID: 2c28e2451dba2260e9f88811b29a7787db7e7616 Gitweb: http://git.kernel.org/tip/2c28e2451dba2260e9f88811b29a7787db7e7616 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 26 Oct 2009 13:57:44 -0700 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 27 Oct 2009 14:59:28 +0100
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 <[email protected]>
LKML-Reference: <12565906642768-git-send-email->
Signed-off-by Ingo Molnar <[email protected]>
--- include/linux/rcupdate.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/rcupdate.h +1 -1
@@ -77,7 +77,7 @@ extern int rcu_scheduler_active;#if defined(CONFIG_TREE_RCU ) || defined(CONFIG_TREE_PREEMPT_RCU )#include <linux/rcutree.h> -#elif CONFIG_TINY_RCU +#elif defined(CONFIG_TINY_RCU )#include <linux/rcutiny.h> #else #error "Unknown RCU implementation specified to kernel configuration"