powerpc/hugetlbfs: Export HPAGE_SHIFT
authorOliver O'Halloran <oohall@gmail.com>
Fri, 30 Jun 2017 06:52:35 +0000 (16:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 2 Jul 2017 10:40:25 +0000 (20:40 +1000)
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>
arch/powerpc/mm/hugetlbpage.c

index 94e56b10e4cca79786a2be2d8827f6a5d12c01bf..19659081da72d7833f237ef8f2970483df16d485 100644 (file)
@@ -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