From: Adrian Bunk Date: Tue, 29 Jul 2008 17:18:26 +0000 (+0900) Subject: mm/hugetlb.c must #include X-Git-Tag: v2.6.27-rc2~111^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7cb93181629c613ee2b8f4ffe3446f8003074842;p=~shefty%2Frdma-dev.git mm/hugetlb.c must #include 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 Signed-off-by: Adrian Bunk Signed-off-by: Paul Mundt --- diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 3be79dc18c5..b3c78640b62 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -16,7 +16,7 @@ #include #include #include - +#include #include #include