Explorar o código

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>
Oliver O'Halloran %!s(int64=8) %!d(string=hai) anos
pai
achega
7a849a6cf3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      arch/powerpc/mm/hugetlbpage.c

+ 1 - 0
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