Skip to content

Commit

Permalink
m68k: <asm/page.h> needs <linux/compiler.h>
Browse files Browse the repository at this point in the history
m68k: <asm/page.h> needs <linux/compiler.h> because of __attribute_const__

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Aug 23, 2007
1 parent 34b4e4a commit 4f85589
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-m68k/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#ifndef __ASSEMBLY__

#include <linux/compiler.h>

#include <asm/module.h>

#define get_user_page(vaddr) __get_free_page(GFP_KERNEL)
Expand Down

0 comments on commit 4f85589

Please sign in to comment.