From: Lennert B. <bu...@gn...> - 2002-01-12 17:14:17
|
Native i386 is a user of the generic TLB flush code, but UML i386 is not. This patch hacks around the problem. --- linux-2.4.17-3um-jeff/arch/um/kernel/mem.c Thu Jan 3 02:18:00 2002 +++ linux-2.4.17-3um-build/arch/um/kernel/mem.c Thu Jan 3 02:47:52 2002 @@ -15,6 +15,7 @@ #include "asm/pgalloc.h" #include "asm/bitops.h" #include "asm/uaccess.h" +#include "asm/tlb.h" #include "user_util.h" #include "kern_util.h" #include "mem_user.h" @@ -43,6 +44,9 @@ extern long physmem_size; int kmalloc_ok = 0; + +mmu_gather_t mmu_gathers[NR_CPUS]; + void mem_init(void) { On Sat, Jan 12, 2002 at 03:05:02PM +0100, Lorenzo Allegrucci wrote: > vmlinux.o: In function `zap_page_range': > vmlinux.o(.text+0x135af): undefined reference to `mmu_gathers' > vmlinux.o(.text+0x135bf): undefined reference to `mmu_gathers' > vmlinux.o(.text+0x135d4): undefined reference to `mmu_gathers' > collect2: ld returned 1 exit status > make: *** [linux] Error 1 > |