riscv: Remove duplicate definition in pagtable.h
PATCH 1/1 riscv: Remove duplicate definition in pagtable.h
From: Guo Ren <[email protected]>
PAGE_KERNEL_EXEC has been defined above.
--- arch/riscv/include/asm/pgtable.h | 1 - 1 file changed, 1 deletion(-)
arch/riscv/include/asm/pgtable.h +0 -1
@@ -101,7 +101,6 @@#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) \ | _PAGE_EXEC)
Signature · 7 lines
2.17.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 28 lines · On Mon, Jan 11, 2021 at 6:38 PM <[email protected]> wrote:
From: Guo Ren <[email protected]>
PAGE_KERNEL_EXEChas been defined above.Signed-off-by Guo Ren <[email protected]>Cc Palmer Dabbelt <[email protected]>Cc Pekka Enberg <[email protected]>--- arch/riscv/include/asm/pgtable.h | 1 - 1 file changed, 1 deletion(-)arch/riscv/include/asm/pgtable.h +0
-2@@ -101,7 +101,6 @@#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) \ | _PAGE_EXEC) --2.17.1
Quoted 4 lines
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
It's already on the fixes.
http://lists.infradead.org/pipermail/linux-riscv/2021-January/004134.html
Signature · 7 lines
Regards, Atish _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 30 lines · Atish Patra
Quoted 28 lines · On Mon, Jan 11, 2021 at 6:38 PM <[email protected]> wrote:
From: Guo Ren <[email protected]>
PAGE_KERNEL_EXEChas been defined above.Signed-off-by Guo Ren <[email protected]>Cc Palmer Dabbelt <[email protected]>Cc Pekka Enberg <[email protected]>--- arch/riscv/include/asm/pgtable.h | 1 - 1 file changed, 1 deletion(-)arch/riscv/include/asm/pgtable.h +0
-2@@ -101,7 +101,6 @@#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) \ | _PAGE_EXEC) --2.17.1
Quoted 8 lines
Quoted 4 lines
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscvIt's already on the fixes.
http://lists.infradead.org/pipermail/linux-riscv/2021-January/004134.html
Great, ignore mine :)
Signature · 9 lines
Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/ _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv