summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-11-19 18:39:08 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2021-11-20 14:45:30 +0100
commit888c3a451ba1ee0e50f84c5f8dfdd6a3ba613a36 (patch)
tree06a0e9841f2c93977a5e762ebc3ff524713778fa
parent95a5dd02310dd40e54a37f782f07235192a22664 (diff)
arch/parisc/: Don't redefine NULL
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--arch/parisc/math-emu/float.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/parisc/math-emu/float.h b/arch/parisc/math-emu/float.h
index 531bbda5e31f..9a05f4d4efd1 100644
--- a/arch/parisc/math-emu/float.h
+++ b/arch/parisc/math-emu/float.h
@@ -26,6 +26,9 @@
PA header file -- do not include this header file for non-PA builds.
#endif
+
+#include <linux/NULL.h>
+
#include "fpbits.h"
#include "hppa.h"
/*
@@ -36,6 +39,7 @@
#define LOCORE
#include "fpu.h"
+
/*
* Declare the basic structures for the 3 different
* floating-point precisions.
@@ -385,8 +389,6 @@ typedef struct dblwd dbl_unsigned;
#define XOR ^
/* other constants */
-#undef NULL
-#define NULL 0
#define NIL 0
#define SGL 0
#define DBL 1