X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c3fd35e7800ae1f2dd3fa42ade850c948e4b18ea..0a0ed2c3ecc6c273f99459159c8f82e6505307a6:/target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch diff --git a/target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch b/target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch index 98a321093..37d64a95d 100644 --- a/target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch +++ b/target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch @@ -13,8 +13,8 @@ Signed-off-by: Florian Fainelli bool +config MIPS_FPU_EMU -+ bool -+ default n ++ bool "Enable FPU emulation" ++ default y + help + This option allows building a kernel with or without the Algorithmics + FPU emulator enabled. Turning off this option results in a kernel which @@ -115,7 +115,7 @@ Signed-off-by: Florian Fainelli 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 + +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; +} +