From: Ralf Baechle Date: Fri, 18 Apr 2014 22:15:40 +0000 (+0200) Subject: MIPS: math-emu: Harden ieee754int.h against multiple inclusion. X-Git-Tag: v4.14-rc1~7425^2~120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bee1653593b39ac85b45a057bb8c22dc1489cf6a;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/arch/mips/math-emu/ieee754int.h b/arch/mips/math-emu/ieee754int.h index 27ed825..62d0fdb 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 */