[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210112023534.117354-1-guoren@kernel.org>
Date: Tue, 12 Jan 2021 10:35:34 +0800
From: guoren@...nel.org
To: palmerdabbelt@...gle.com
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Guo Ren <guoren@...ux.alibaba.com>,
Palmer Dabbelt <palmer@...belt.com>,
Pekka Enberg <penberg@...nel.org>
Subject: [PATCH] riscv: Remove duplicate definition in pagtable.h
From: Guo Ren <guoren@...ux.alibaba.com>
PAGE_KERNEL_EXEC has been defined above.
Signed-off-by: Guo Ren <guoren@...ux.alibaba.com>
Cc: Palmer Dabbelt <palmer@...belt.com>
Cc: Pekka Enberg <penberg@...nel.org>
---
arch/riscv/include/asm/pgtable.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/riscv/include/asm/pgtable.h b/arch/riscv/include/asm/pgtable.h
index 41a72861987c..dff51a84e52e 100644
--- a/arch/riscv/include/asm/pgtable.h
+++ b/arch/riscv/include/asm/pgtable.h
@@ -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
Powered by blists - more mailing lists