]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: rtl8192e: compile fixes
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Aug 2009 14:26:19 +0000 (10:26 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:31 +0000 (12:02 -0700)
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>
drivers/staging/rtl8192e/Makefile
drivers/staging/rtl8192e/r8192E_core.c

index e24ab23369b55f68d6f84a28543d06ca15bbf2ad..5e4aa9546b513e6618743d3b1ee4d051c60bce3f 100644 (file)
@@ -4,7 +4,6 @@ NIC_SELECT = RTL8192E
 EXTRA_CFLAGS += -DRTL8192E
 EXTRA_CFLAGS += -std=gnu89
 EXTRA_CFLAGS += -O2
-EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y
 EXTRA_CFLAGS += -DTHOMAS_TURBO
 EXTRA_CFLAGS += -DENABLE_DOT11D
 
index 9a0ff9ce6944c9e207cd6b681819af59dcab1e0f..aded8fa81d0add0768e3d73f67d7f63024e5a88c 100644 (file)
  * Jerry chuang <wlanfae@realtek.com>
  */
 
-#ifndef CONFIG_FORCE_HARD_FLOAT
-double __floatsidf (int i) { return i; }
-unsigned int __fixunsdfsi (double d) { return d; }
-double __adddf3(double a, double b) { return a+b; }
-double __addsf3(float a, float b) { return a+b; }
-double __subdf3(double a, double b) { return a-b; }
-double __extendsfdf2(float a) {return a;}
-#endif
 
 #undef LOOP_TEST
 #undef RX_DONT_PASS_UL