]> err.no Git - linux-2.6/commit
uml: compile error fix
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 15 Apr 2008 21:34:38 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Apr 2008 02:35:40 +0000 (19:35 -0700)
commit1f4deba80a0d9fa92832684e683335b742a530e8
treeb9e04ac068aead7a2821e311fdad446d3b740c33
parente115f2d89253490fb2dbf304b627f8d908df26f1
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>
include/asm-um/tlb.h