diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-08-04 10:26:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:02:31 -0400 |
commit | ca9b2f88d97ee39286be3cc83ac10f2c09194410 (patch) | |
tree | 51f1ff2a37f045c5667e1ef1fadeb9caa6dd7405 | |
parent | df34e5e396e6cff3389549b27e898fdb5d140269 (diff) |
Staging: rtl8192e: compile fixes
This patch removes -fhard-float and the software float helpers. In-kernel
floating point is not allowed.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/rtl8192e/Makefile | 1 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/rtl8192e/Makefile b/drivers/staging/rtl8192e/Makefile index e24ab23369b5..5e4aa9546b51 100644 --- a/drivers/staging/rtl8192e/Makefile +++ b/drivers/staging/rtl8192e/Makefile | |||
@@ -4,7 +4,6 @@ NIC_SELECT = RTL8192E | |||
4 | EXTRA_CFLAGS += -DRTL8192E | 4 | EXTRA_CFLAGS += -DRTL8192E |
5 | EXTRA_CFLAGS += -std=gnu89 | 5 | EXTRA_CFLAGS += -std=gnu89 |
6 | EXTRA_CFLAGS += -O2 | 6 | EXTRA_CFLAGS += -O2 |
7 | EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y | ||
8 | EXTRA_CFLAGS += -DTHOMAS_TURBO | 7 | EXTRA_CFLAGS += -DTHOMAS_TURBO |
9 | EXTRA_CFLAGS += -DENABLE_DOT11D | 8 | EXTRA_CFLAGS += -DENABLE_DOT11D |
10 | 9 | ||
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index 9a0ff9ce6944..aded8fa81d0a 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c | |||
@@ -24,14 +24,6 @@ | |||
24 | * Jerry chuang <wlanfae@realtek.com> | 24 | * Jerry chuang <wlanfae@realtek.com> |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #ifndef CONFIG_FORCE_HARD_FLOAT | ||
28 | double __floatsidf (int i) { return i; } | ||
29 | unsigned int __fixunsdfsi (double d) { return d; } | ||
30 | double __adddf3(double a, double b) { return a+b; } | ||
31 | double __addsf3(float a, float b) { return a+b; } | ||
32 | double __subdf3(double a, double b) { return a-b; } | ||
33 | double __extendsfdf2(float a) {return a;} | ||
34 | #endif | ||
35 | 27 | ||
36 | #undef LOOP_TEST | 28 | #undef LOOP_TEST |
37 | #undef RX_DONT_PASS_UL | 29 | #undef RX_DONT_PASS_UL |