Build issue with linux next. duplicate member _count in mm_types.h

From: Jonathan Cameron
Date: Wed Jul 06 2011 - 05:47:42 EST


Getting:

CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/sched.h:64:0,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/mm_types.h:74:15: error: duplicate member '_count'
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Issue looks to have been introduced by

mm: Rearrange struct page

fc9bb8c768abe7ae10861c3510e01a95f98d5933

Guessing it's a known issue, but just thought I'd flag it up in case
it's something very specific about my build.

gcc-2.6 armv7a

Reverting that patch works, but given I don't know the history, I'm
not proposing doing that in general!

Jonathan
--
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/