diff options
| author | Dave Hansen <haveblue@us.ibm.com> | 2004-08-26 20:35:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-26 20:35:51 -0700 |
| commit | 64bb92dab0e34c1291eaf48abfbcb707d956cd99 (patch) | |
| tree | 0fb3118ea5af5b242927b515fac1b332100fa206 | |
| parent | 7b35738ed905a232c8c5ea1dd24be4bd768c28e9 (diff) | |
[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: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | fs/binfmt_elf.c | 1 | ||||
| -rw-r--r-- | fs/jbd/journal.c | 1 | ||||
| -rw-r--r-- | include/asm-ppc64/pgalloc.h | 1 | ||||
| -rw-r--r-- | mm/slab.c | 1 | ||||
| -rw-r--r-- | net/packet/af_packet.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index b7c6e3917afe..717da940fbfa 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -40,6 +40,7 @@ #include <asm/uaccess.h> #include <asm/param.h> +#include <asm/page.h> #include <linux/elf.h> diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index 1cf23ff17c4a..33fd505cfe21 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c @@ -34,6 +34,7 @@ #include <linux/suspend.h> #include <linux/pagemap.h> #include <asm/uaccess.h> +#include <asm/page.h> #include <linux/proc_fs.h> EXPORT_SYMBOL(journal_start); diff --git a/include/asm-ppc64/pgalloc.h b/include/asm-ppc64/pgalloc.h index 8b79f36267a2..dd717c2bb644 100644 --- a/include/asm-ppc64/pgalloc.h +++ b/include/asm-ppc64/pgalloc.h @@ -7,6 +7,7 @@ #include <linux/percpu.h> #include <asm/processor.h> #include <asm/tlb.h> +#include <asm/page.h> extern kmem_cache_t *zero_cache; diff --git a/mm/slab.c b/mm/slab.c index 887bec4dde63..429451587048 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -96,6 +96,7 @@ #include <asm/uaccess.h> #include <asm/cacheflush.h> #include <asm/tlbflush.h> +#include <asm/page.h> /* * DEBUG - 1 for kmem_cache_create() to honour; SLAB_DEBUG_INITIAL, diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 93ac3b310ceb..c2d286db5820 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -65,6 +65,7 @@ #include <asm/system.h> #include <asm/uaccess.h> #include <asm/ioctls.h> +#include <asm/page.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> #include <linux/poll.h> |
