aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPranith Kumar <[email protected]>2014-07-17 20:11:01 -0400
committerPaul E. McKenney <[email protected]>2014-09-16 10:08:02 -0700
commit22c2f669611590b428647ac9a73bc63ef3989d4b (patch)
treee427b2b0edcc754196e9d422088694e3ff8e96e3 /lib/test-string_helpers.c
parent35ce7f29a44a888c45c0a9f202f69e10613c5306 (diff)
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Tested-by: Paul Gortmaker <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions