aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-12 13:58:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 16:01:02 -0700
commit542d1c88bd7f73e2e59d41b12e4a9041deea89e4 (patch)
tree0968cf5c0695e74a0fa7357b6aa5083e10d9205d /include/linux/swap.h
parent[PATCH] cdev: cdev_put oops (diff)
downloadlinux-dev-542d1c88bd7f73e2e59d41b12e4a9041deea89e4.tar.xz
linux-dev-542d1c88bd7f73e2e59d41b12e4a9041deea89e4.zip
[PATCH] tlb.h warning fix
free_pages_and_swap_cache() and free_page_and_swap_cache() use release_pages() and page_cache_release() respectively, so make sure that we have the declarations in scope. Cc: Olaf Hering <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--include/linux/swap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index c75954f2d868..239f520cc49e 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -7,6 +7,8 @@
#include <linux/mmzone.h>
#include <linux/list.h>
#include <linux/sched.h>
+#include <linux/pagemap.h>
+
#include <asm/atomic.h>
#include <asm/page.h>