[PATCH] powerpc: Fix compiliation with hugetlbfs enabled

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE5392d

2 messages, 2 authors, 2011-12-09 · open the first message on its own page

[PATCH] powerpc: Fix compiliation with hugetlbfs enabled

From: Kumar Gala <hidden>
Date: 2011-11-24 19:40:11

arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':
arch/powerpc/mm/hugetlbpage.c:312:2: error: implicit declaration of function 'parse_args'

Signed-off-by: Kumar Gala <redacted>
---
 arch/powerpc/mm/hugetlbpage.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index 5964371..8558b57 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/arch/powerpc/mm/hugetlbpage.c
@@ -15,6 +15,7 @@
 #include <linux/of_fdt.h>
 #include <linux/memblock.h>
 #include <linux/bootmem.h>
+#include <linux/moduleparam.h>
 #include <asm/pgtable.h>
 #include <asm/pgalloc.h>
 #include <asm/tlb.h>
-- 
1.7.3.4

Re: [PATCH] powerpc: Fix compiliation with hugetlbfs enabled

From: Tabi Timur-B04825 <hidden>
Date: 2011-12-09 19:28:04

On Thu, Nov 24, 2011 at 1:40 PM, Kumar Gala [off-list ref] wro=
te:
arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':
arch/powerpc/mm/hugetlbpage.c:312:2: error: implicit declaration of funct=
ion 'parse_args'
Signed-off-by: Kumar Gala <redacted>
Acked-by: Timur Tabi <redacted>

Would you please apply this to your 'next' branch?  It won't compile
with this patch.

--=20
Timur Tabi
Linux kernel developer at Freescale=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help