aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2004-08-26 20:35:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-26 20:35:51 -0700
commit64bb92dab0e34c1291eaf48abfbcb707d956cd99 (patch)
tree0fb3118ea5af5b242927b515fac1b332100fa206 /mm
parent7b35738ed905a232c8c5ea1dd24be4bd768c28e9 (diff)
downloadhistory-64bb92dab0e34c1291eaf48abfbcb707d956cd99.tar.gz
[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>
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 887bec4dde632d..42945158704809 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,