diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-04-15 14:34:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-15 19:35:40 -0700 |
commit | 1f4deba80a0d9fa92832684e683335b742a530e8 (patch) | |
tree | b9e04ac068aead7a2821e311fdad446d3b740c33 /include/asm-um | |
parent | e115f2d89253490fb2dbf304b627f8d908df26f1 (diff) | |
download | linux-stable-1f4deba80a0d9fa92832684e683335b742a530e8.tar.gz linux-stable-1f4deba80a0d9fa92832684e683335b742a530e8.tar.bz2 linux-stable-1f4deba80a0d9fa92832684e683335b742a530e8.zip |
uml: compile error fix
This patch fixes this error:
In file included from /home/wangcong/projects/linux-2.6/arch/um/kernel/smp.c:9:
include2/asm/tlb.h: In function `tlb_remove_page':
include2/asm/tlb.h:101: error: implicit declaration of function `page_cache_release'
And since including <linux/pagemap.h> in <linux/swap.h> will break sparc,
we add this #include in uml's own header.
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-um')
-rw-r--r-- | include/asm-um/tlb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-um/tlb.h b/include/asm-um/tlb.h index 39fc475df6c9..5240fa1c5e08 100644 --- a/include/asm-um/tlb.h +++ b/include/asm-um/tlb.h @@ -1,6 +1,7 @@ #ifndef __UM_TLB_H #define __UM_TLB_H +#include <linux/pagemap.h> #include <linux/swap.h> #include <asm/percpu.h> #include <asm/pgalloc.h> |