summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-05-15 13:14:51 +0300
committerStafford Horne <shorne@gmail.com>2017-07-07 22:35:17 +0300
commite687448ca892d73b3932bcce3183da2cd95593fe (patch)
treef00516c601551c228fb47a9d0850e0f24b95c730 /arch/openrisc
parent1938852de55d3235c2d1a8be5787160a00d5c378 (diff)
downloadlinux-e687448ca892d73b3932bcce3183da2cd95593fe.tar.xz
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 <tklauser@distanz.ch> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/include/asm/fixmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/fixmap.h b/arch/openrisc/include/asm/fixmap.h
index 52733416c1f3..5a0159546f9e 100644
--- a/arch/openrisc/include/asm/fixmap.h
+++ b/arch/openrisc/include/asm/fixmap.h
@@ -27,6 +27,7 @@
#define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE))
#include <linux/kernel.h>
+#include <linux/bug.h>
#include <asm/page.h>
/*