Fix migration.c compilation on s390
authorAndi Kleen <ak@linux.intel.com>
Mon, 11 Oct 2010 14:03:21 +0000 (16:03 +0200)
committerAndi Kleen <ak@linux.intel.com>
Mon, 11 Oct 2010 14:57:39 +0000 (16:57 +0200)
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 <ak@linux.intel.com>

No differences found