]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: kill useless SMT code in prom_hold_cpus
authorNathan Lynch <ntl@pobox.com>
Sun, 27 Jul 2008 05:24:50 +0000 (15:24 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:48 +0000 (16:30 +1000)
commit7d2f6075f992d33c7be829c3638b8cb72b782b19
treea2f2c3e900c15e898b87c21975e4770092b4de1e
parentff8dc7698c904f2a911e89b3d54e7c4a74f5575d
powerpc: kill useless SMT code in prom_hold_cpus

This piece of code is broken for >2 threads, and possibly in some
other subtle ways (such as comparing a value obtained from an
"ibm,ppc-interrupt-server#s" property to a value obtained from a
"reg" property) and doesn't seem to have any useful purpose in the
first place other than a dubious warning in case NR_CPUS is too
small, which probably isn't the right place to do so.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/prom_init.c