openrisc: explicitly include linux/bug.h in asm/fixmap.h
PATCH 1/1 openrisc: explicitly include linux/bug.h in asm/fixmap.h
openrisc's asm/fixmap.h uses the BUG() and BUG_ON() macros but relies on implict inclusion of linux/bug.h which means that changes in other headers could break the build. Thus, add an explicit include.
Signed-off-by Tobias Klauser <[email protected]>
--- arch/openrisc/include/asm/fixmap.h | 1 + 1 file changed, 1 insertion(+)
arch/openrisc/include/asm/fixmap.h +1 -0
@@ -27,6 +27,7 @@#define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE))#include <linux/kernel.h> +#include <linux/bug.h> #include <asm/page.h> /*
Signature · 1 line
2.13.0
Stafford Horne
maintainerPATCH 1/1 openrisc: explicitly include linux/bug.h in asm/fixmap.h
Quoted 3 lines · Tobias Klauser
openrisc's
asm/fixmap.huses theBUG()andBUG_ON()macros but relies on implict inclusion oflinux/bug.hwhich means that changes in other headers could break the build. Thus, add an explicit include.
Thanks, I have applied it.
Quoted 21 lines
Signed-off-by Tobias Klauser <[email protected]>--- arch/openrisc/include/asm/fixmap.h | 1 + 1 file changed, 1 insertion(+)arch/openrisc/include/asm/fixmap.h +1
-0@@ -27,6 +27,7 @@#define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE))#include <linux/kernel.h> +#include <linux/bug.h> #include <asm/page.h> /* Signature · 1 line
2.13.0