Re: [2.6 patch] mm/hugetlb.c must #include <asm/io.h>

From: Paul Mundt
Date: Mon Jul 28 2008 - 20:06:41 EST


On Sun, Jul 27, 2008 at 04:04:38PM +0300, Adrian Bunk wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>
Acked-by: Paul Mundt <lethal@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/