Re: 2.6.12-rc3-mm1

Russell King
2005-04-30T15:04:36Z

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