aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@kernel.org>2019-09-12 12:01:04 -0700
committerVineet Gupta <vgupta@kernel.org>2021-08-24 14:25:48 -0700
commitda773cf20eb3745e18be995e00be0d57aa862564 (patch)
tree12fb69743317a62b7312bedaa03a00ebaa11ae8e /arch/arc/include
parentARC: mm: Enable STRICT_MM_TYPECHECKS (diff)
downloadlinux-dev-da773cf20eb3745e18be995e00be0d57aa862564.tar.xz
linux-dev-da773cf20eb3745e18be995e00be0d57aa862564.zip
ARC: ioremap: use more commonly used PAGE_KERNEL based uncached flag
and remove the one off uncached definition for ARC Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/include')
-rw-r--r--arch/arc/include/asm/pgtable.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arc/include/asm/pgtable.h b/arch/arc/include/asm/pgtable.h
index 80b57c14b430..b054c14f8bf6 100644
--- a/arch/arc/include/asm/pgtable.h
+++ b/arch/arc/include/asm/pgtable.h
@@ -103,9 +103,6 @@
*/
#define PAGE_KERNEL __pgprot(_K_PAGE_PERMS | _PAGE_CACHEABLE)
-/* ioremap */
-#define PAGE_KERNEL_NO_CACHE __pgprot(_K_PAGE_PERMS)
-
/* 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)