summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/page.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2007-08-22 23:01:29 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-23 04:52:45 +0200
commit4f855897fe6acd98f10e939dea41130cec7b9c42 (patch)
tree82814ffbdb8e33db87860fbec87488071dd4d997 /include/asm-m68k/page.h
parentfix NULL pointer dereference in __vm_enough_memory() (diff)
downloadlinux-4f855897fe6acd98f10e939dea41130cec7b9c42.tar.xz
linux-4f855897fe6acd98f10e939dea41130cec7b9c42.zip
m68k: <asm/page.h> needs <linux/compiler.h>
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>
Diffstat (limited to '')
-rw-r--r--include/asm-m68k/page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-m68k/page.h b/include/asm-m68k/page.h
index 9e6d0d6debdb..fff1f455bdad 100644
--- a/include/asm-m68k/page.h
+++ b/include/asm-m68k/page.h
@@ -27,6 +27,8 @@
#ifndef __ASSEMBLY__
+#include <linux/compiler.h>
+
#include <asm/module.h>
#define get_user_page(vaddr) __get_free_page(GFP_KERNEL)