OSDN Git Service

riscv: use the generic ioremap code
[tomoyo/tomoyo-test1.git] / arch / riscv / include / asm / pgtable.h
index d322101..d51ce5a 100644 (file)
 
 #define PAGE_TABLE             __pgprot(_PAGE_TABLE)
 
+/*
+ * The RISC-V ISA doesn't yet specify how to query or modify PMAs, so we can't
+ * change the properties of memory regions.
+ */
+#define _PAGE_IOREMAP _PAGE_KERNEL
+
 extern pgd_t swapper_pg_dir[];
 
 /* MAP_PRIVATE permissions: xwr (copy-on-write) */