diff options
author | Kefeng Wang <[email protected]> | 2020-11-11 19:52:16 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-01-09 14:18:31 -0800 |
commit | 0ea02c73775277001c651ad4a0e83781a9acf406 (patch) | |
tree | 90567f5189e8f1e38f0a718e3f5c8dbd088a2740 | |
parent | 643437b996bac9267785e0bd528332e2d5811067 (diff) |
riscv: Drop a duplicated PAGE_KERNEL_EXEC
commit b91540d52a08 ("RISC-V: Add EFI runtime services") add
a duplicated PAGE_KERNEL_EXEC, kill it.
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Fixes: b91540d52a08 ("RISC-V: Add EFI runtime services")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
-rw-r--r-- | arch/riscv/include/asm/pgtable.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/pgtable.h b/arch/riscv/include/asm/pgtable.h index 41a72861987c..251e1db088fa 100644 --- a/arch/riscv/include/asm/pgtable.h +++ b/arch/riscv/include/asm/pgtable.h @@ -99,7 +99,6 @@ | _PAGE_DIRTY) #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) -#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) #define PAGE_KERNEL_READ __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE) #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC) #define PAGE_KERNEL_READ_EXEC __pgprot((_PAGE_KERNEL & ~_PAGE_WRITE) \ |