diff options
author | Andrew Morton <akpm@osdl.org> | 2005-07-12 13:58:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 16:01:02 -0700 |
commit | 542d1c88bd7f73e2e59d41b12e4a9041deea89e4 (patch) | |
tree | 0968cf5c0695e74a0fa7357b6aa5083e10d9205d /include/linux | |
parent | 7da6844cf7bc44dcda548a0a0aebf85f3a1c1485 (diff) | |
download | linux-3.10-542d1c88bd7f73e2e59d41b12e4a9041deea89e4.tar.gz linux-3.10-542d1c88bd7f73e2e59d41b12e4a9041deea89e4.tar.bz2 linux-3.10-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 'include/linux')
-rw-r--r-- | include/linux/swap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index c75954f2d86..239f520cc49 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> |