From: Andi Kleen Date: Mon, 11 Oct 2010 14:03:21 +0000 (+0200) Subject: Fix migration.c compilation on s390 X-Git-Tag: v2.6.37-rc1~109^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef8fd7f720fc4f462fcdcae2fcde6f1c0536bfe;p=pandora-kernel.git Fix migration.c compilation on s390 31bit s390 doesn't have huge pages and failed with: > 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' Put that code into a ifdef. Reported by Heiko Carstens Signed-off-by: Andi Kleen --- Reading git-diff-tree failed