From: Oliver O'Halloran Date: Fri, 30 Jun 2017 06:52:35 +0000 (+1000) Subject: powerpc/hugetlbfs: Export HPAGE_SHIFT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a849a6cf3ff676d1726259c18fa413f9e0c62a3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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