Commit e687448c authored by Tobias Klauser's avatar Tobias Klauser Committed by Stafford Horne

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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent 1938852d
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE)) #define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE))
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/bug.h>
#include <asm/page.h> #include <asm/page.h>
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment