]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Fix CONFIG_RCU_NOCB_CPU_ALL panic on machines with sparse CPU mask
authorKirill Tkhai <tkhai@yandex.ru>
Sun, 15 Sep 2013 13:29:17 +0000 (17:29 +0400)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Sep 2013 21:11:11 +0000 (14:11 -0700)
commit5d5a08003d3e678372e375d99c65a24e0d33d2f5
tree3a159a99297f0418b25f1d89933652540c1ed851
parent0d75292467b0c8554d70c751a35af6514202ac28
rcu: Fix CONFIG_RCU_NOCB_CPU_ALL panic on machines with sparse CPU mask

Some architectures have sparse cpu mask. UltraSparc's cpuinfo for example:

CPU0: online
CPU2: online

So, set only possible CPUs when CONFIG_RCU_NOCB_CPU_ALL is enabled.

Also, check that user passes right 'rcu_nocbs=' option.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: Dipankar Sarma <dipankar@in.ibm.com>
[ paulmck: Fix pr_info() issue noted by scripts/checkpatch.pl. ]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_plugin.h