diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-15 12:14:51 +0200 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-07-08 04:35:17 +0900 |
commit | e687448ca892d73b3932bcce3183da2cd95593fe (patch) | |
tree | f00516c601551c228fb47a9d0850e0f24b95c730 /arch | |
parent | 1938852de55d3235c2d1a8be5787160a00d5c378 (diff) | |
download | linux-e687448ca892d73b3932bcce3183da2cd95593fe.tar.bz2 |
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')
-rw-r--r-- | arch/openrisc/include/asm/fixmap.h | 1 |
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> /* |