secondary CPU kicking on 86xx

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jun 17 08:18:49 EST 2006


> Or we can dynamically rewrite a branch instruction into
> the reset vector from C code during smp_kick_cpu() time
> like the current powermac code does.
> 
> I have working code for both; just need opinions
> and preferences on correct approach/style voiced!

Second approach. #ifdef are evil and they prevent multiple board support
in the same kernel.

Ben.





More information about the Linuxppc-dev mailing list