aboutsummaryrefslogtreecommitdiff
path: root/security/root_plug.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2008-10-20 15:37:03 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-10-21 15:19:12 +1100
commit6a75a6b8e85e92cc774d42a4e113c76c30b5a539 (patch)
treecd6b0655ba24655fb3bbdf58601099754a9bf232 /security/root_plug.c
parented7b2144bcc87b2b097553f15a2f96e18ede21b0 (diff)
powerpc: Use cpu_thread_in_core in smp_init for of_spin_map
We used to assume that even numbered threads were the primary threads, ie those that would be listed and started as a cpu from open firmware. Replace a left over is even (% 2) check with a check for it being a primary thread and update the comments. Tested with a debug print on pseries, identical code found for cell. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'security/root_plug.c')
0 files changed, 0 insertions, 0 deletions