linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/hugetlbfs: Export HPAGE_SHIFT
@ 2017-06-30  6:52 Oliver O'Halloran
  2017-06-30  9:28 ` Anshuman Khandual
  2017-07-02 11:01 ` Michael Ellerman
  0 siblings, 2 replies; 4+ messages in thread
From: Oliver O'Halloran @ 2017-06-30  6:52 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: mpe, Oliver O'Halloran

Export it so it can be referenced inside a module.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 arch/powerpc/mm/hugetlbpage.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index ceeab69cf7fc..96293560f294 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/arch/powerpc/mm/hugetlbpage.c
@@ -34,6 +34,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
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-03  3:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30  6:52 [PATCH] powerpc/hugetlbfs: Export HPAGE_SHIFT Oliver O'Halloran
2017-06-30  9:28 ` Anshuman Khandual
2017-07-03  3:36   ` Oliver
2017-07-02 11:01 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).