* [2.6 patch] mm/hugetlb.c must #include <asm/io.h>
@ 2008-07-27 13:04 Adrian Bunk
2008-07-29 0:05 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-07-27 13:04 UTC (permalink / raw)
To: Andi Kleen, Nick Piggin, Andrew Morton
Cc: wli, linux-kernel, lethal, linux-sh
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@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
98c5be88abb276588ea1f377f08726308765aa3c
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index a8bf4ab..6101012 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -19,6 +19,7 @@
#include <asm/page.h>
#include <asm/pgtable.h>
+#include <asm/io.h>
#include <linux/hugetlb.h>
#include "internal.h"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] mm/hugetlb.c must #include <asm/io.h>
2008-07-27 13:04 [2.6 patch] mm/hugetlb.c must #include <asm/io.h> Adrian Bunk
@ 2008-07-29 0:05 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-07-29 0:05 UTC (permalink / raw)
To: Adrian Bunk
Cc: Andi Kleen, Nick Piggin, Andrew Morton, wli, linux-kernel, linux-sh
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@kernel.org>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
Acked-by: Paul Mundt <lethal@linux-sh.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-29 0:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-27 13:04 [2.6 patch] mm/hugetlb.c must #include <asm/io.h> Adrian Bunk
2008-07-29 0:05 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).