Messages in this thread | | | Date | Mon, 14 Apr 2008 11:03:58 -0400 | From | Jeff Dike <> | Subject | Re: [Patch] uml: compile error fix |
| |
On Sat, Apr 12, 2008 at 05:47:33PM +0800, WANG Cong wrote: > > This patch fixes this error: > > CC arch/um/kernel/smp.o > 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’ > make[2]: *** [arch/um/kernel/smp.o] Error 1 > make[1]: *** [arch/um/kernel] Error 2 > make: *** [sub-make] Error 2 > > And since including <linux/pagemap.h> in <linux/swap.h> will break sparc, > we add this #include in uml's own header.
Sigh, ACK.
I took a stab at fixing this problem for real a while ago by untangling the headers involved, but failed.
Jeff
-- Work email - jdike at linux dot intel dot com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |