powerpc/math-emu: Use kernel generic math-emu code
[safe/jmp/linux-2.6] / arch / powerpc / math-emu / mffs.c
index f477c91..5526cf9 100644 (file)
@@ -2,7 +2,8 @@
 #include <linux/errno.h>
 #include <asm/uaccess.h>
 
-#include "soft-fp.h"
+#include <asm/sfp-machine.h>
+#include <math-emu/soft-fp.h>
 
 int
 mffs(u32 *frD)
@@ -10,7 +11,7 @@ mffs(u32 *frD)
        frD[1] = __FPU_FPSCR;
 
 #ifdef DEBUG
-       printk("%s: frD %p: %08x.%08x\n", __FUNCTION__, frD, frD[0], frD[1]);
+       printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]);
 #endif
 
        return 0;