ia64 broken by transparent huge pages - other arches too?

From: Luck, Tony
Date: Fri Jan 14 2011 - 12:50:54 EST


Didn't Andrew make some rash promise at kernel summit about stopping
eating if "-mm" wasn't included in linux-next by the end of November?

Must be getting pretty hungry by now.

The transparent huge page code just arrived in the merge window
without having been in linux-next. I see this error when trying
to build for ia64 from Linus' tree this morning:

In file included from /home/aegl/generic-smp/arch/ia64/include/asm/pgtable.h:611,
from include/linux/mm.h:41,
from /home/aegl/generic-smp/arch/ia64/include/asm/uaccess.h:39,
from include/linux/poll.h:14,
from include/linux/rtc.h:117,
from include/linux/efi.h:19,
from /home/aegl/generic-smp/arch/ia64/include/asm/sal.h:40,
from /home/aegl/generic-smp/arch/ia64/include/asm/mca.h:20,
from arch/ia64/kernel/asm-offsets.c:17:
include/asm-generic/pgtable.h: In function â??pmdp_get_and_clearâ??:
include/asm-generic/pgtable.h:96: error: implicit declaration of function â??__pmdâ??
include/asm-generic/pgtable.h:96: error: incompatible types in return
make[1]: *** [arch/ia64/kernel/asm-offsets.s] Error 1


Looks like arch/*/include/pgtable.h needs to define __pmd() but only x86
was blessed with it.

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