Skip to content

Commit

Permalink
openrisc: explicitly include linux/bug.h in asm/fixmap.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Stafford Horne <[email protected]>
  • Loading branch information
tklauser authored and stffrdhrn committed Jul 7, 2017
1 parent 1938852 commit e687448
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/openrisc/include/asm/fixmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE))

#include <linux/kernel.h>
#include <linux/bug.h>
#include <asm/page.h>

/*
Expand Down

0 comments on commit e687448

Please sign in to comment.