| commit | dd93afa91e42c2197758643fbafcbb2210814175 | [log] [tgz] |
|---|---|---|
| author | Pranith Kumar <bobby.prani@gmail.com> | Thu Jul 17 20:11:01 2014 -0400 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jul 21 09:55:09 2014 -0700 |
| tree | 495b206dc42c7992c05c1d2daa937e75da2d3a22 | |
| parent | d11ccc246a2c820255bffb15bfaa1a477b68f20b [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 <bobby.prani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>