]> Pileus Git - ~andy/linux/blobdiff - arch/ppc/kernel/head_fsl_booke.S
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
[~andy/linux] / arch / ppc / kernel / head_fsl_booke.S
index d64bf61d2b1fe742669c4bb4d8ef4128d479d628..f22ddce36135fddce922d21e2b033d642f5fe946 100644 (file)
@@ -504,7 +504,11 @@ interrupt_base:
        PROGRAM_EXCEPTION
 
        /* Floating Point Unavailable Interrupt */
+#ifdef CONFIG_PPC_FPU
+       FP_UNAVAILABLE_EXCEPTION
+#else
        EXCEPTION(0x0800, FloatingPointUnavailable, UnknownException, EXC_XFER_EE)
+#endif
 
        /* System Call Interrupt */
        START_EXCEPTION(SystemCall)
@@ -916,10 +920,12 @@ _GLOBAL(giveup_spe)
 /*
  * extern void giveup_fpu(struct task_struct *prev)
  *
- * The e500 core does not have an FPU.
+ * Not all FSL Book-E cores have an FPU
  */
+#ifndef CONFIG_PPC_FPU
 _GLOBAL(giveup_fpu)
        blr
+#endif
 
 /*
  * extern void abort(void)