diff options
author | Christophe Leroy | 2018-10-09 15:52:16 +0200 |
---|---|---|
committer | Michael Ellerman | 2018-10-14 09:04:09 +0200 |
commit | 5662315384fcb3d81125562124cf4e1743aa2c3a (patch) | |
tree | 0f3ce28665a4e6394f104ff3bd3de56826fe9f96 /arch/powerpc/include/asm/pte-common.h | |
parent | powerpc/mm: Define platform default caches related flags (diff) | |
download | kernel-qcow2-linux-5662315384fcb3d81125562124cf4e1743aa2c3a.tar.gz kernel-qcow2-linux-5662315384fcb3d81125562124cf4e1743aa2c3a.tar.xz kernel-qcow2-linux-5662315384fcb3d81125562124cf4e1743aa2c3a.zip |
powerpc/mm: Get rid of pte-common.h
Do not include pte-common.h in nohash/32/pgtable.h
As that was the last includer, get rid of pte-common.h
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
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/pte-common.h')
-rw-r--r-- | arch/powerpc/include/asm/pte-common.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/powerpc/include/asm/pte-common.h b/arch/powerpc/include/asm/pte-common.h deleted file mode 100644 index ff01368a175a..000000000000 --- a/arch/powerpc/include/asm/pte-common.h +++ /dev/null @@ -1,25 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Included from asm/pgtable-*.h only ! */ - -/* Location of the PFN in the PTE. Most 32-bit platforms use the same - * as _PAGE_SHIFT here (ie, naturally aligned). - * Platform who don't just pre-define the value so we don't override it here - */ -#ifndef PTE_RPN_SHIFT -#define PTE_RPN_SHIFT (PAGE_SHIFT) -#endif - -/* The mask covered by the RPN must be a ULL on 32-bit platforms with - * 64-bit PTEs - */ -#if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT) -#define PTE_RPN_MASK (~((1ULL<<PTE_RPN_SHIFT)-1)) -#else -#define PTE_RPN_MASK (~((1UL<<PTE_RPN_SHIFT)-1)) -#endif - -/* _PAGE_CHG_MASK masks of bits that are to be preserved across - * pgprot changes - */ -#define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | \ - _PAGE_ACCESSED | _PAGE_SPECIAL) |