projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1938852
)
openrisc: explicitly include linux/bug.h in asm/fixmap.h
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 15 May 2017 10:14:51 +0000
(12:14 +0200)
committer
Stafford 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/openrisc/include/asm/fixmap.h
b/arch/openrisc/include/asm/fixmap.h
index 52733416c1f313d3027fa06c66d3d9e6f8ed8b42..5a0159546f9eaf174ea57f141a1fce7c88a964a5 100644
(file)
--- 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>
/*