aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-09-28 20:35:42 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-09-28 20:35:42 +0000
commit72c711635eb641178aa2f725001f3e53449d4ba5 (patch)
treeaaa294b85077cea103c99ba8d6aa742a5f5548d3 /target/linux/generic-2.6/patches-2.6.31/025-mips_disable_fpu.patch
parentf98321a8ffe57b8e9ffdcef343d3ee7983ba2c06 (diff)
downloadupstream-72c711635eb641178aa2f725001f3e53449d4ba5.tar.gz
upstream-72c711635eb641178aa2f725001f3e53449d4ba5.tar.bz2
upstream-72c711635eb641178aa2f725001f3e53449d4ba5.zip
[kernel] inform users when the in-kernel mips FPU emulator is disabled (#5774)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17794 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch4
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 98a321093d..6a52adafe8 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;
+}
+