Skip to content

Commit 7cb9318

Browse files
AdrianBunkpmundt
authored andcommitted
mm/hugetlb.c must #include <asm/io.h>
This patch fixes the following build error on sh caused by commit aa888a7 (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>
1 parent 193f3c2 commit 7cb9318

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mm/hugetlb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <linux/mutex.h>
1717
#include <linux/bootmem.h>
1818
#include <linux/sysfs.h>
19-
19+
#include <asm/io.h>
2020
#include <asm/page.h>
2121
#include <asm/pgtable.h>
2222

0 commit comments

Comments
 (0)