X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c8e4b6534aac076a168135d2d4f78880f8bc836d..d7fbd60e8ef9911b95a92b78704a65cddf2bf593:/target/linux/generic-2.6/patches-2.6.21/024-mips_disable_fpu.patch diff --git a/target/linux/generic-2.6/patches-2.6.21/024-mips_disable_fpu.patch b/target/linux/generic-2.6/patches-2.6.21/024-mips_disable_fpu.patch index 477506962..3476d158e 100644 --- a/target/linux/generic-2.6/patches-2.6.21/024-mips_disable_fpu.patch +++ b/target/linux/generic-2.6/patches-2.6.21/024-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 @@ -135,6 +135,7 @@ Signed-off-by: Florian Fainelli + return 0; +} + ++#ifdef CONFIG_64BIT +int fpu_emulator_save_context32(struct sigcontext32 __user *sc) +{ + return 0; @@ -145,6 +146,5 @@ Signed-off-by: Florian Fainelli + return 0; +} + -+#ifdef CONFIG_64BIT +#endif /* CONFIG_64BIT */ +#endif /* CONFIG_MIPS_FPU_EMU */