Subject: linux-next: "hugetlb: hugepage migration core" breaks compilation on s390

From: Heiko Carstens <[email-masked]>
Date: Mon, 11 Oct 2010 13:11:31 +0200

"hugetlb: hugepage migration core" in linux-next breaks compilation on s390:

  CC      mm/migrate.o
mm/migrate.c: In function 'remove_migration_pte':
mm/migrate.c:143:3: error: implicit declaration of function 'pte_mkhuge'
mm/migrate.c:143:7: error: incompatible types when assigning to type 'pte_t' from type 'int'
make[1]: *** [mm/migrate.o] Error 1
make: *** [mm/migrate.o] Error 2

This is simply because a lot of CONFIG_HUGETLB_PAGE dependent code was added
to mm/migration.c which does not depend on that config option. Please fix.

Thanks.