public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: Greg KH <gregkh@suse.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [patch 1/5] rtl8192su: compile fixes
Date: Tue, 04 Aug 2009 10:26:19 -0400	[thread overview]
Message-ID: <20090804142709.911355735@suse.com> (raw)
In-Reply-To: 20090804142618.455591385@suse.com

[-- Attachment #1: patches.rpmify/rtl8192su-kill-fp --]
[-- Type: text/plain, Size: 1169 bytes --]

 This patch removes -fhard-float and the software float helpers. In-kernel
 floating point is not allowed.

Acked-by: Jeff Mahoney <jeffm@suse.com>
---
 drivers/staging/rtl8192su/Makefile      |    1 -
 drivers/staging/rtl8192su/r8192U_core.c |   22 ++++++++--------------
 2 files changed, 8 insertions(+), 15 deletions(-)

--- a/drivers/staging/rtl8192su/Makefile
+++ b/drivers/staging/rtl8192su/Makefile
@@ -2,7 +2,6 @@ NIC_SELECT = RTL8192SU
 
 EXTRA_CFLAGS += -std=gnu89
 EXTRA_CFLAGS += -O2
-EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y
 
 EXTRA_CFLAGS += -DJACKSON_NEW_RX
 EXTRA_CFLAGS += -DTHOMAS_BEACON -DTHOMAS_TURBO
--- a/drivers/staging/rtl8192su/r8192U_core.c
+++ b/drivers/staging/rtl8192su/r8192U_core.c
@@ -24,14 +24,6 @@
  * 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 DUMP_RX



  reply	other threads:[~2009-08-04 14:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 14:26 [patch 0/5] rtl8192su build fixes and warning cleanups Jeff Mahoney
2009-08-04 14:26 ` Jeff Mahoney [this message]
2009-08-04 14:26 ` [patch 2/5] rtl8192su: fix up printk warnings Jeff Mahoney
2009-08-04 14:26 ` [patch 3/5] rtl8192su: fixup size comparison warning Jeff Mahoney
2009-08-04 14:26 ` [patch 4/5] rtl8192su: stop using skb->tail Jeff Mahoney
2009-08-04 14:26 ` [patch 5/5] rtl8192su: add linux/vmalloc.h Jeff Mahoney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090804142709.911355735@suse.com \
    --to=jeffm@suse.com \
    --cc=gregkh@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox