ps3 64-bit kernel: patched prpmc2800.c (fwd)

Paul Mackerras paulus at samba.org
Sun Jun 3 11:51:56 EST 2007


Maik Nijhuis writes:

> I managed to fix this issue as follows: At the end of
> arch/powerpc/boot/prpmc2800.c, there is an assembly instruction
> 
> rlwinm  10,10,0,~(1<<15)
> 
> I replaced this by
> 
> rlwinm  10,10,0,~(1<<15) & ((1<<32)-1)

It is a binutils bug, and Alan Modra has a patch for it.  In the
meantime the best thing would be to change that to

	rlwinm	10,10,0,17,15

which is equivalent.

Paul.



More information about the Linuxppc-dev mailing list