projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
[openwrt.git]
/
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
98a3210
..
37d64a9
100644
(file)
--- 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 <florian@openwrt.org>
bool
+config MIPS_FPU_EMU
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
+ 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 <florian@openwrt.org>
void fpu_emulator_init_fpu(void)
{
static int first = 1;
void fpu_emulator_init_fpu(void)
{
static int first = 1;
-@@ -112,4 +113,3
4
@@ int fpu_emulator_restore_context32(struc
+@@ -112,4 +113,3
6
@@ int fpu_emulator_restore_context32(struc
return err;
}
return err;
}
@@
-125,6
+125,8
@@
Signed-off-by: Florian Fainelli <florian@openwrt.org>
+
+void fpu_emulator_init_fpu(void)
+{
+
+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;
+}
+
+ return;
+}
+
This page took
0.031098 seconds
and
4
git commands to generate.