aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2014-05-23 18:15:28 +1000
committerBenjamin Herrenschmidt <[email protected]>2014-05-28 13:35:36 +1000
commit6f5e40a3001d2497a134386a173e3ec3fdf2ad0b (patch)
tree13066084106667f6e2f16396566b5f61c138af41 /include/linux/timerqueue.h
parent5853aef1ac5c5d83076203e840ca463857a7515d (diff)
powerpc: Check cpu_thread_in_subcore() in __cpu_up()
To support split core we need to change the check in __cpu_up() that determines if a cpu is allowed to come online. Currently we refuse to online cpus which are not the primary thread within their core. On POWER8 with split core support this check needs to instead refuse to online cpus which are not the primary thread within their *sub* core. On POWER7 and other systems that do not support split core, threads_per_subcore == threads_per_core and so the check is equivalent. Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Michael Neuling <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions