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

Mark A. Greer mgreer at mvista.com
Mon Jun 4 09:25:30 EST 2007


On Sun, Jun 03, 2007 at 11:51:56AM +1000, Paul Mackerras wrote:
> 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.

Oops, I totally missed this thread.  I'll whip up a patch for this on Monday.

Mark



More information about the Linuxppc-dev mailing list