From 970f50b72b8dd94a00572dfd7ceee8383a564a1d Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 28 Sep 2009 20:35:42 +0000 Subject: inform users when the in-kernel mips FPU emulator is disabled (#5774) SVN-Revision: 17794 --- target/linux/generic-2.6/patches-2.6.27/024-mips_disable_fpu.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target/linux/generic-2.6/patches-2.6.27') diff --git a/target/linux/generic-2.6/patches-2.6.27/024-mips_disable_fpu.patch b/target/linux/generic-2.6/patches-2.6.27/024-mips_disable_fpu.patch index 60e844b279..91fbb9f142 100644 --- a/target/linux/generic-2.6/patches-2.6.27/024-mips_disable_fpu.patch +++ b/target/linux/generic-2.6/patches-2.6.27/024-mips_disable_fpu.patch @@ -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; +} + -- cgit v1.2.3