Re: 2.6.12-rc3-mm1

From: Russell King
Date: Sat Apr 30 2005 - 10:05:35 EST


On Sat, Apr 30, 2005 at 03:07:37PM +0100, Richard Purdie wrote:
> 2.6.12-rc3-mm1 fails to compile for an arm pxa sharp zaurus kernel:
>
> LD .tmp_vmlinux1
> fs/built-in.o(.text+0x39110): In function `smaps_pte_range':
> task_mmc.c: undefined reference to `clean_pmd_entry'
> make: *** [.tmp_vmlinux1] Error 1
>
> Adding #include <asm/tlbflush.h> to fs/proc/task_mmu.c "fixes" this although
> I doubt that's the correct thing to do.

I think it has to - there's no way that asm/pgtable.h can include
asm/tlbflush.h because asm/tlbflush.h needs vm_area_struct, which
is defined by linux/mm.h, which includes asm/pgtable.h before
vm_area_struct is defined.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/