提交 e687448c 编写于 作者: T Tobias Klauser 提交者: 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: NTobias Klauser <tklauser@distanz.ch>
Signed-off-by: NStafford Horne <shorne@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册