diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-09-28 20:35:42 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-09-28 20:35:42 +0000 |
commit | 970f50b72b8dd94a00572dfd7ceee8383a564a1d (patch) | |
tree | f2f908d5947a5faeaaa2f87f18022822e432e5fb /target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch | |
parent | f44e4dcb4b947a09bc3f80d8e9962244ec4e7d1a (diff) | |
download | mtk-20170518-970f50b72b8dd94a00572dfd7ceee8383a564a1d.zip mtk-20170518-970f50b72b8dd94a00572dfd7ceee8383a564a1d.tar.gz mtk-20170518-970f50b72b8dd94a00572dfd7ceee8383a564a1d.tar.bz2 |
inform users when the in-kernel mips FPU emulator is disabled (#5774)
SVN-Revision: 17794
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch | 4 |
1 files changed, 3 insertions, 1 deletions
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 98a3210..6a52ada 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 @@ -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; +} + |