]> git.baikalelectronics.ru Git - kernel.git/commitdiff
openrisc: explicitly include linux/bug.h in asm/fixmap.h
authorTobias Klauser <tklauser@distanz.ch>
Mon, 15 May 2017 10:14:51 +0000 (12:14 +0200)
committerStafford Horne <shorne@gmail.com>
Fri, 7 Jul 2017 19:35:17 +0000 (04:35 +0900)
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 <tklauser@distanz.ch>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/include/asm/fixmap.h

index 52733416c1f313d3027fa06c66d3d9e6f8ed8b42..5a0159546f9eaf174ea57f141a1fce7c88a964a5 100644 (file)
@@ -27,6 +27,7 @@
 #define FIXADDR_TOP    ((unsigned long) (-2*PAGE_SIZE))
 
 #include <linux/kernel.h>
+#include <linux/bug.h>
 #include <asm/page.h>
 
 /*