[PATCH] ppc32: fix ppc44x fpu build
authorMatt Porter <mporter@kernel.crashing.org>
Wed, 9 Nov 2005 13:42:05 +0000 (06:42 -0700)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 00:24:06 +0000 (11:24 +1100)
Fixes ppc44x fpu support that broke from a bad arch/powerpc merge.
Instead of adding KernelFP back in (which duplicates code) we use
the same kernel fpu unavailable handler as classic PPC processors.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/head_booke.h

index aeb349b..f3d274c 100644 (file)
@@ -358,6 +358,6 @@ label:
        NORMAL_EXCEPTION_PROLOG;                                              \
        bne     load_up_fpu;            /* if from user, just load it up */   \
        addi    r3,r1,STACK_FRAME_OVERHEAD;                                   \
-       EXC_XFER_EE_LITE(0x800, KernelFP)
+       EXC_XFER_EE_LITE(0x800, kernel_fp_unavailable_exception)
 
 #endif /* __HEAD_BOOKE_H__ */