summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-11-24 09:40:07 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-11-25 10:05:59 +1100
commit13020be8be2d5843c3810169cdbcc51f07ff020f (patch)
tree9579453f8a43b7f2dbc67c139e51a342d3320507 /arch
parente3854b6e25d1b092c30c5f81a04fe6fc839b1e26 (diff)
downloadlinux-13020be8be2d5843c3810169cdbcc51f07ff020f.tar.gz
linux-13020be8be2d5843c3810169cdbcc51f07ff020f.tar.bz2
linux-13020be8be2d5843c3810169cdbcc51f07ff020f.zip
powerpc: Fix compiliation with hugetlbfs enabled
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 <galak@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/hugetlbpage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index 5964371303ac..8558b572e55d 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>