From: Pranith Kumar Date: Fri, 18 Jul 2014 00:11:01 +0000 (-0400) Subject: rcu: Check for have_rcu_nocb_mask instead of rcu_nocb_mask X-Git-Tag: omap-for-v3.19/prcm-cleanup~100^2~1^2~16^3~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c2f669611590b428647ac9a73bc63ef3989d4b;p=pandora-kernel.git rcu: Check for have_rcu_nocb_mask instead of rcu_nocb_mask If we configure a kernel with CONFIG_NOCB_CPU=y, CONFIG_RCU_NOCB_CPU_NONE=y and CONFIG_CPUMASK_OFFSTACK=n and do not pass in a rcu_nocb= boot parameter, the cpumask rcu_nocb_mask can be garbage instead of NULL. Hence this commit replaces checks for rcu_nocb_mask == NULL with a check for have_rcu_nocb_mask. Signed-off-by: Pranith Kumar Signed-off-by: Paul E. McKenney Tested-by: Paul Gortmaker --- Reading git-diff-tree failed