[PATCH] powerpc/mm: Fix parse_arg build error

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

STALE5338d

3 messages, 3 authors, 2012-01-13 · open the first message on its own page

[PATCH] powerpc/mm: Fix parse_arg build error

From: Matthew McClintock <hidden>
Date: 2012-01-13 05:05:25

This fixes this build issue:

arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':
arch/powerpc/mm/hugetlbpage.c:312:2: error: implicit declaration of function 'parse_args'
make[1]: *** [arch/powerpc/mm/hugetlbpage.o] Error 1

Signed-off-by: Matthew McClintock <redacted>
---
This is for benh next tree

 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 79c575d..a8b3cc7 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.6.1

Re: [PATCH] powerpc/mm: Fix parse_arg build error

From: Kumar Gala <hidden>
Date: 2012-01-13 20:49:02

On Jan 12, 2012, at 11:05 PM, Matthew McClintock wrote:
This fixes this build issue:
=20
arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':
arch/powerpc/mm/hugetlbpage.c:312:2: error: implicit declaration of =
function 'parse_args'
make[1]: *** [arch/powerpc/mm/hugetlbpage.o] Error 1
=20
Signed-off-by: Matthew McClintock <redacted>
---
This is for benh next tree
=20
arch/powerpc/mm/hugetlbpage.c |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)
This is fixed upstream, benh's tree is based on a older snapshot of =
linus's tree that doesn't have this fix.

commit 13020be8be2d5843c3810169cdbcc51f07ff020f
Author: Kumar Gala [off-list ref]
Date:   Thu Nov 24 09:40:07 2011 +0000

    powerpc: Fix compiliation with hugetlbfs enabled

- k=

Re: [PATCH] powerpc/mm: Fix parse_arg build error

From: McClintock Matthew-B29882 <hidden>
Date: 2012-01-13 20:54:27

On Fri, Jan 13, 2012 at 2:45 PM, Kumar Gala [off-list ref] wro=
te:
On Jan 12, 2012, at 11:05 PM, Matthew McClintock wrote:
quoted
This fixes this build issue:

arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':
arch/powerpc/mm/hugetlbpage.c:312:2: error: implicit declaration of func=
tion 'parse_args'
quoted
make[1]: *** [arch/powerpc/mm/hugetlbpage.o] Error 1

Signed-off-by: Matthew McClintock <redacted>
---
This is for benh next tree

arch/powerpc/mm/hugetlbpage.c | =A0 =A01 +
1 files changed, 1 insertions(+), 0 deletions(-)
This is fixed upstream, benh's tree is based on a older snapshot of linus=
's tree that doesn't have this fix.
commit 13020be8be2d5843c3810169cdbcc51f07ff020f
Author: Kumar Gala [off-list ref]
Date: =A0 Thu Nov 24 09:40:07 2011 +0000

=A0 =A0powerpc: Fix compiliation with hugetlbfs enabled
I was starting to realize this today after I saw Ben's pull request...

-M=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help