From: Adrian Bunk Date: Mon, 28 Jul 2008 22:46:30 +0000 (-0700) Subject: mm/hugetlb.c must #include X-Git-Tag: upstream/snapshot3+hdmi~23298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78a34ae29bf1c9df62a5bd0f0798b6c62a54d520;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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"): mm/hugetlb.c: In function 'alloc_bootmem_huge_page': mm/hugetlb.c:958: error: implicit declaration of function 'virt_to_phys' Signed-off-by: Adrian Bunk Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 80eb0d3..254ce2b 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -20,6 +20,7 @@ #include #include +#include #include #include "internal.h"