From: Tobias Klauser <tklauser@distanz.ch> Date: Mon, 15 May 2017 10:14:51 +0000 (+0200) Subject: openrisc: explicitly include linux/bug.h in asm/fixmap.h X-Git-Tag: v4.13-rc1~110^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e687448ca892d73b3932bcce3183da2cd95593fe;p=users%2Fwilly%2Fxarray.git 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> --- 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> /*