Skip to contentSkip to conversation

powerpc: Fix building ppc64 w/hugetlbfs enabled

PATCH New Kumar Gala 1 participant 1 message Nov 22, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc: Fix building ppc64 w/hugetlbfs enabled

arch/powerpc/kernel/setup_64.c: In function 'early_setup':
arch/powerpc/kernel/setup_64.c:226:2: error: implicit declaration of function 'reserve_hugetlb_gpages'

---
 arch/powerpc/kernel/setup_64.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/kernel/setup_64.c +1 -0
index 66648cc..6a98051 100644
@@ -65,6 +65,7 @@
 #include <asm/kexec.h>
 #include <asm/mmu_context.h>
 #include <asm/code-patching.h>
+#include <asm/hugetlb.h>
 
 #include "setup.h"
 
Signature · 1 line
1.7.3.4