[patch 24/33] powerpc: Correct __secondary_hold comment
Segher Boessenkool
segher at kernel.crashing.org
Tue Jun 19 02:56:58 EST 2007
> How does this text sound?
>
> This code starting at offset 0x60 is used to hold secondary processors
> before the kernel has been relocated to its linked address. Any
> platform or pre-boot environment may transfer secondary processors to
> the kernel by copying the first 0x100 bytes to address 0, and then
> instructing the secondary cpus to branch to address 0x60 after placing
> their hardware id (as specified by the device tree) in r3.
I think it is a Really Bad Idea(tm) to make this part of
the kernel ABI. Can't you just make the secondaries enter
the kernel by jumping to the normal kernel entry point
(with some flag set in some register I suppose)?
Segher
More information about the Linuxppc-dev
mailing list