X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fpowerpc%2Fplatforms%2Fcell%2Fsmp.c;h=efb3964457b1db4451c1c75d97dbf03e2c40ca0b;hb=2bfba3c444fe8b2ab1c38112a89d8f03b61136ca;hp=1c0acbad7425b63e194726b109e95a01422c3bc2;hpb=fecf3404f4aba6d0edeba31eeb018cbb6326dff2;p=linux-2.6-omap-h63xx.git diff --git a/arch/powerpc/platforms/cell/smp.c b/arch/powerpc/platforms/cell/smp.c index 1c0acbad742..efb3964457b 100644 --- a/arch/powerpc/platforms/cell/smp.c +++ b/arch/powerpc/platforms/cell/smp.c @@ -42,8 +42,10 @@ #include #include #include +#include #include "interrupt.h" +#include #ifdef DEBUG #define DBG(fmt...) udbg_printf(fmt) @@ -181,7 +183,7 @@ static int smp_cell_cpu_bootable(unsigned int nr) */ if (system_state < SYSTEM_RUNNING && cpu_has_feature(CPU_FTR_SMT) && - !smt_enabled_at_boot && nr % 2 != 0) + !smt_enabled_at_boot && cpu_thread_in_core(nr) != 0) return 0; return 1;