Skip to content

Commit

Permalink
riscv: Drop a duplicated PAGE_KERNEL_EXEC
Browse files Browse the repository at this point in the history
commit 0ea02c7 upstream.

commit b91540d ("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: b91540d ("RISC-V: Add EFI runtime services")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Kefeng Wang authored and gregkh committed Jan 19, 2021
1 parent 531c88c commit eae7b19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/riscv/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit eae7b19

Please sign in to comment.