Skip to content

Commit

Permalink
powerpc/hugetlbfs: Export HPAGE_SHIFT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oliver O'Halloran authored and Michael Ellerman committed Jul 2, 2017
1 parent 8c7d0a0 commit 7a849a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a849a6

Please sign in to comment.