[kernel] refresh 2.6.31 patches
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.31 / 025-mips_disable_fpu.patch
index 98a321093df3a21a5dfb2f95150b0f55dda41302..6a52adafe8095decf0905f0e9c395167dbd88dec 100644 (file)
@@ -115,7 +115,7 @@ Signed-off-by: Florian Fainelli <florian@openwrt.org>
  void fpu_emulator_init_fpu(void)
  {
        static int first = 1;
-@@ -112,4 +113,34 @@ int fpu_emulator_restore_context32(struc
+@@ -112,4 +113,36 @@ int fpu_emulator_restore_context32(struc
  
        return err;
  }
@@ -125,6 +125,8 @@ Signed-off-by: Florian Fainelli <florian@openwrt.org>
 +
 +void fpu_emulator_init_fpu(void)
 +{
++      printk(KERN_INFO "FPU emulator disabled, make sure your toolchain"
++              "was compiled with software floating point support (soft-float)\n");
 +      return;
 +}
 +