From 7a849a6cf3ff676d1726259c18fa413f9e0c62a3 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Fri, 30 Jun 2017 16:52:35 +1000 Subject: [PATCH] powerpc/hugetlbfs: Export HPAGE_SHIFT Export it so it can be referenced inside a module. Signed-off-by: Oliver O'Halloran Signed-off-by: Michael Ellerman --- arch/powerpc/mm/hugetlbpage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index 94e56b10e4cc..19659081da72 100644 --- a/arch/powerpc/mm/hugetlbpage.c +++ b/arch/powerpc/mm/hugetlbpage.c @@ -32,6 +32,7 @@ #define PAGE_SHIFT_16G 34 unsigned int HPAGE_SHIFT; +EXPORT_SYMBOL(HPAGE_SHIFT); /* * Tracks gpages after the device tree is scanned and before the -- 2.20.1