[PATCH] powerpc: Fix Kernel FP unavail exception for BookE
authorBecky Bruce <bgill@freescale.com>
Tue, 31 Jan 2006 23:52:59 +0000 (17:52 -0600)
committerPaul Mackerras <paulus@samba.org>
Fri, 10 Feb 2006 05:51:50 +0000 (16:51 +1100)
Updated FP unavailable exception to refer to the correct
function in traps.c. head_booke.h was using the old name, KernelFP,
instead of kernel_fp_unavailable_exception.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_booke.h

index 5827c27e0b593ba29c467d8a82ecca0ac16eff85..8536e767616084c40cdf2010e23b84891a6ee43e 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;                                   \
        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__ */
 
 #endif /* __HEAD_BOOKE_H__ */