ia64 broken by transparent huge pages - other arches too?

Luck, Tony
2011-01-14T17:50:52Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

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