Commit 64bb92da authored by Dave Hansen's avatar Dave Hansen Committed by Linus Torvalds

[PATCH] include asm/page.h for virt_to_page()

asm/page.h seems to be the accepted place to declare virt_to_page() on a vast
majority of architectures.  This patch makes sure that a few files which use
that function also directly include the header.
Signed-off-by: default avatarDave Hansen <haveblue@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7b35738e
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/param.h> #include <asm/param.h>
#include <asm/page.h>
#include <linux/elf.h> #include <linux/elf.h>
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <linux/suspend.h> #include <linux/suspend.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/page.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
EXPORT_SYMBOL(journal_start); EXPORT_SYMBOL(journal_start);
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <linux/percpu.h> #include <linux/percpu.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/tlb.h> #include <asm/tlb.h>
#include <asm/page.h>
extern kmem_cache_t *zero_cache; extern kmem_cache_t *zero_cache;
......
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/page.h>
/* /*
* DEBUG - 1 for kmem_cache_create() to honour; SLAB_DEBUG_INITIAL, * DEBUG - 1 for kmem_cache_create() to honour; SLAB_DEBUG_INITIAL,
......
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
#include <asm/system.h> #include <asm/system.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/ioctls.h> #include <asm/ioctls.h>
#include <asm/page.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/poll.h> #include <linux/poll.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