summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/pgtable.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@kernel.org>2020-10-02 04:39:15 +0200
committerVineet Gupta <vgupta@kernel.org>2021-08-26 00:53:19 +0200
commit2cc1121bc993ca3090cc4267bc38d3da61b68602 (patch)
treeff0015e17dd700f19577e29c50f1b8167d551cc6 /arch/arc/include/asm/pgtable.h
parentARC: mm: move MMU specific bits out of entry code ... (diff)
downloadlinux-2cc1121bc993ca3090cc4267bc38d3da61b68602.tar.xz
linux-2cc1121bc993ca3090cc4267bc38d3da61b68602.zip
ARC: mm: disintegrate mmu.h (arcv2 bits out)
non functional change Tested-by: kernel test robot <lkp@intel.com> Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/include/asm/pgtable.h')
-rw-r--r--arch/arc/include/asm/pgtable.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arc/include/asm/pgtable.h b/arch/arc/include/asm/pgtable.h
index f762bacb2358..de4576e8d17a 100644
--- a/arch/arc/include/asm/pgtable.h
+++ b/arch/arc/include/asm/pgtable.h
@@ -103,12 +103,6 @@
*/
#define PAGE_KERNEL __pgprot(_K_PAGE_PERMS | _PAGE_CACHEABLE)
-/* Masks for actual TLB "PD"s */
-#define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_HW_SZ)
-#define PTE_BITS_RWX (_PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ)
-
-#define PTE_BITS_NON_RWX_IN_PD1 (PAGE_MASK_PHYS | _PAGE_CACHEABLE)
-
/**************************************************************************
* Mapping of vm_flags (Generic VM) to PTE flags (arch specific)
*