[PATCH] tlb.h warning fix
authorAndrew Morton <akpm@osdl.org>
Tue, 12 Jul 2005 20:58:31 +0000 (13:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 12 Jul 2005 23:01:02 +0000 (16:01 -0700)
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>
include/linux/swap.h

index c75954f2d868213a2abbac0a9f3d8ddef3fb2fbb..239f520cc49ec1c55561e2ac9e085629e489b03a 100644 (file)
@@ -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>