[PATCH] force stackpointer alignment in 64bit kernel
Segher Boessenkool
segher at kernel.crashing.org
Sat Mar 4 06:32:29 EST 2006
>> /* Make sure we are running in 64 bits mode */
>> + addi r1,r1,16
>> + rlwinm r1,r1,0,0,28
>> bl .enable_64b_mode
>
> Not addi +16, not -16, just no addi at all...
Not rlwinm either, GPR1 can potentially be at >= 4GB
(of course we'd probably hit other problems then, but hey).
So please use rldicr or similar.
Segher
More information about the Linuxppc-dev
mailing list