aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/include/asm/nohash/64/pgtable-4k.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2016-09-21 16:49:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-18 22:40:37 +1100
commitc05f69a3dc702312bbecae4c7ddfc999f48ee720 (patch)
tree8480925822496ccb2ee12deecdc52f3e181d4b47 /arch/powerpc/include/asm/nohash/64/pgtable-4k.h
parentpowerpc/mm: Correct process and partition table max size (diff)
downloadwireguard-linux-c05f69a3dc702312bbecae4c7ddfc999f48ee720.tar.xz
wireguard-linux-c05f69a3dc702312bbecae4c7ddfc999f48ee720.zip
powerpc/64: get rid of MIN_HUGEPTE_SHIFT
MIN_HUGEPTE_SHIFT hasn't been used since commit d1837cba5d5d5 ("powerpc/mm: Cleanup initialization of hugepages on powerpc") Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/nohash/64/pgtable-4k.h')
-rw-r--r--arch/powerpc/include/asm/nohash/64/pgtable-4k.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/nohash/64/pgtable-4k.h b/arch/powerpc/include/asm/nohash/64/pgtable-4k.h
index fc7d51753f81..d0db98793dd8 100644
--- a/arch/powerpc/include/asm/nohash/64/pgtable-4k.h
+++ b/arch/powerpc/include/asm/nohash/64/pgtable-4k.h
@@ -27,9 +27,6 @@
#define PMD_SIZE (1UL << PMD_SHIFT)
#define PMD_MASK (~(PMD_SIZE-1))
-/* With 4k base page size, hugepage PTEs go at the PMD level */
-#define MIN_HUGEPTE_SHIFT PMD_SHIFT
-
/* PUD_SHIFT determines what a third-level page table entry can map */
#define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE)
#define PUD_SIZE (1UL << PUD_SHIFT)