[PATCH] powerpc: mtmsrd not defined

Kumar Gala galak at kernel.crashing.org
Wed Sep 1 23:01:29 EST 2010


On Sep 1, 2010, at 3:02 AM, Paul Mackerras wrote:

> On Tue, Aug 31, 2010 at 10:55:25PM -0400, Sean MacLennan wrote:
> 
>> I had to give up. Without the CONFIG_PPC_FPU it compiles fine for an
>> FPU less 44x. But with the CONFIG_PPC_FPU, I get the following errors:
> 
> Ah, those references would be from arch/powerpc/lib/sstep.c.  Evidently
> we need #ifdef CONFIG_PPC_FPU around the emulation of the floating-point
> loads and stores.
> 
> Do we do any in-kernel emulation of floating-point operations with
> CONFIG_PPC_FPU turned off?

I'm not aware of any.  I haven't looked at the Program Check exception path to know if we'd handle emulation gracefully or not for !CONFIG_PPC_FPU.

- k


More information about the Linuxppc-dev mailing list