powerpc/mm: Fix parse_arg build error
PATCH 1/1 powerpc/mm: Fix parse_arg build error
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
---
This is for benh next tree
arch/powerpc/mm/hugetlbpage.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/mm/hugetlbpage.c +1 -0
@@ -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>
Signature · 1 line
1.7.6.1
Quoted 4 lines · Matthew McClintock
This fixes this build issue:
=20arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':arch/powerpc/mm/hugetlbpage.c:312:2: error: implicit declaration of =
function 'parse_args'
Quoted 8 lines
make[1]: *** [
arch/powerpc/mm/hugetlbpage.o] Error 1 =20Signed-off-by Matthew McClintock <[email protected]>---
This is for benh next tree
=20arch/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 <[email protected]> Date: Thu Nov 24 09:40:07 2011 +0000
powerpc: Fix compiliation with hugetlbfs enabled
- k=
On Fri, Jan 13, 2012 at 2:45 PM, Kumar Gala <[email protected]> wro= te:
Quoted 6 lines · Matthew McClintock
Quoted 5 lines
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 10 lines
Quoted 8 lines
make[1]: *** [
arch/powerpc/mm/hugetlbpage.o] Error 1Signed-off-by Matthew McClintock <[email protected]>---
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.
Quoted 6 lines
commit
13020be8be2d5843c3810169cdbcc51f07ff020f
Author: Kumar Gala <[email protected]>
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=