summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/dp_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/dp_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/dp_tint.c')
-rw-r--r--arch/mips/math-emu/dp_tint.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/mips/math-emu/dp_tint.c b/arch/mips/math-emu/dp_tint.c
index 6ce86a33c..c8a151b26 100644
--- a/arch/mips/math-emu/dp_tint.c
+++ b/arch/mips/math-emu/dp_tint.c
@@ -25,13 +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 "ieee754dp.h"
int ieee754dp_tint(ieee754dp x)