]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mm/hugetlb.c must #include <asm/io.h>
authorAdrian Bunk <bunk@kernel.org>
Tue, 29 Jul 2008 17:18:26 +0000 (02:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 29 Jul 2008 17:18:26 +0000 (02:18 +0900)
This patch fixes the following build error on sh caused by
commit aa888a74977a8f2120ae9332376e179c39a6b07d
(hugetlb: support larger than MAX_ORDER):

<--  snip  -->

...
  CC      mm/hugetlb.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/hugetlb.c: In function 'alloc_bootmem_huge_page':
/home/bunk/linux/kernel-2.6/git/linux-2.6/mm/hugetlb.c:958: error: implicit declaration of function 'virt_to_phys'
make[2]: *** [mm/hugetlb.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
mm/hugetlb.c

index 3be79dc18c5c65a0c3b251d4849e3c895eadefd3..b3c78640b629b8feecdfb567246b90ce4e892591 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/mutex.h>
 #include <linux/bootmem.h>
 #include <linux/sysfs.h>
-
+#include <asm/io.h>
 #include <asm/page.h>
 #include <asm/pgtable.h>