From: WANG Cong Date: Tue, 15 Apr 2008 21:34:38 +0000 (-0700) Subject: uml: compile error fix X-Git-Tag: v2.6.25~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1f4deba80a0d9fa92832684e683335b742a530e8;p=linux-2.6-omap-h63xx.git 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 in will break sparc, we add this #include in uml's own header. Acked-by: Jeff Dike Signed-off-by: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-um/tlb.h b/include/asm-um/tlb.h index 39fc475df6c..5240fa1c5e0 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 #include #include #include