diff options
author | 2016-09-21 16:49:27 +0200 | |
---|---|---|
committer | 2016-11-18 22:40:37 +1100 | |
commit | c05f69a3dc702312bbecae4c7ddfc999f48ee720 (patch) | |
tree | 8480925822496ccb2ee12deecdc52f3e181d4b47 /arch/powerpc/include/asm/nohash/64/pgtable-64k.h | |
parent | powerpc/mm: Correct process and partition table max size (diff) | |
download | wireguard-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-64k.h')
-rw-r--r-- | arch/powerpc/include/asm/nohash/64/pgtable-64k.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/nohash/64/pgtable-64k.h b/arch/powerpc/include/asm/nohash/64/pgtable-64k.h index 908324574f77..55b28ef3409a 100644 --- a/arch/powerpc/include/asm/nohash/64/pgtable-64k.h +++ b/arch/powerpc/include/asm/nohash/64/pgtable-64k.h @@ -31,9 +31,6 @@ #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) -/* With 4k base page size, hugepage PTEs go at the PMD level */ -#define MIN_HUGEPTE_SHIFT PAGE_SHIFT - /* PMD_SHIFT determines what a second-level page table entry can map */ #define PMD_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) #define PMD_SIZE (1UL << PMD_SHIFT) |