]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f8e26d542d64deb6daa479b4487ecf929403625
tree3665bf0e793dfa63020514de8c549a65430c5ab0
parente0e637eaf4fa28ec0f8eadaacfe3607d60f22c1b
mm/hugetlb.c must #include <asm/io.h>

This patch fixes the following build error on sh caused by
commit d24d4969b19353bca14ad9e27021f736af0eed33
(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