[RFC PATCH 1/2]powerpc: foundation code to handle CR5 for local_t

Segher Boessenkool segher at kernel.crashing.org
Sat Nov 29 03:00:11 AEDT 2014


On Fri, Nov 28, 2014 at 08:27:22AM +0530, Madhavan Srinivasan wrote:
> > Have you tested this with (upcoming) GCC 5.0?  GCC now uses CR5,
> > and it likes to use it very much, it might be more convenient to
> > use e.g. CR1 (which is allocated almost last, only before CR0).
> > 
> No. I did not try it with GCC5.0 But I did force kernel compilation with
> fixed-cr5 which should make GCC avoid using CR5. But i will try that today.

It should work just fine, but testing is always useful, because, you know,
"should".  Thanks.


Segher


More information about the Linuxppc-dev mailing list