summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-19 00:15:40 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 11:12:56 +0200
commitbee1653593b39ac85b45a057bb8c22dc1489cf6a (patch)
tree2355e0f097308eacc50718e97f1c21055b79b47c /arch
parent47fa0c0251413db66a9018fbac6f6266201195ae (diff)
downloadblackbird-op-linux-bee1653593b39ac85b45a057bb8c22dc1489cf6a.tar.gz
blackbird-op-linux-bee1653593b39ac85b45a057bb8c22dc1489cf6a.zip
MIPS: math-emu: Harden ieee754int.h against multiple inclusion.
The header file had no include guards; this only happened to work because the file only contains macro definitions and protypes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/math-emu/ieee754int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/math-emu/ieee754int.h b/arch/mips/math-emu/ieee754int.h
index 27ed825ad35a..62d0fdbdb44e 100644
--- a/arch/mips/math-emu/ieee754int.h
+++ b/arch/mips/math-emu/ieee754int.h
@@ -23,7 +23,8 @@
*
* ########################################################################
*/
-
+#ifndef __IEEE754INT_H
+#define __IEEE754INT_H
#include "ieee754.h"
@@ -162,3 +163,5 @@
#define FLUSHYDP FLUSHDP(y, yc, ys, ye, ym)
#define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm)
#define FLUSHYSP FLUSHSP(y, yc, ys, ye, ym)
+
+#endif /* __IEEE754INT_H */
OpenPOWER on IntegriCloud