[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 aeb349b47af35f49040c45d5f2cc94b29a3af2d3..f3d274c6b231df80847e6e1ab9b112f80be7205f 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__ */