summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_tint.c
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2001-01-13 16:15:24 +0000
committerHarald Koerfgen <hkoerfg@web.de>2001-01-13 16:15:24 +0000
commiteaa46cff6b2fcc3fff83b35d296dd337f1f98fea (patch)
treef1ceb3fa37c824724b49ec8a26b8ff02ee39c3ab /arch/mips/math-emu/sp_tint.c
parent08a66f4cc016bc023bafb606b4057d18a91ad859 (diff)
o Kernel sources shouldn't include standard headers
(me, backport from linux-vr) o Fix typos in sp_flong.c and sp_fint.c (Hiroshi Kawashima, backport from linux-vr)
Diffstat (limited to 'arch/mips/math-emu/sp_tint.c')
-rw-r--r--arch/mips/math-emu/sp_tint.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/mips/math-emu/sp_tint.c b/arch/mips/math-emu/sp_tint.c
index eeb26551e..8f3ed14c6 100644
--- a/arch/mips/math-emu/sp_tint.c
+++ b/arch/mips/math-emu/sp_tint.c
@@ -25,14 +25,7 @@
*/
-#include <limits.h>
-#ifdef __KERNEL__
-#define assert(expr) ((void)0)
-#else
-#include <assert.h>
-#endif
-#include <stdarg.h>
-
+#include <linux/kernel.h>
#include "ieee754sp.h"
int ieee754sp_tint(ieee754sp x)