summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-06-30 09:52:35 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-07-02 13:40:25 +0300
commit7a849a6cf3ff676d1726259c18fa413f9e0c62a3 (patch)
tree3631ee878406be93449632a814d6a40649059b90 /arch/powerpc/mm/hugetlbpage.c
parent8c7d0a04066b0d9d95134e7853e8c26b84173108 (diff)
downloadlinux-7a849a6cf3ff676d1726259c18fa413f9e0c62a3.tar.xz
powerpc/hugetlbfs: Export HPAGE_SHIFT
Export it so it can be referenced inside a module. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-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 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