[PATCH] riscv: xip: Fix duplicate included asm/pgtable.h

Jiapeng Chong jiapeng.chong at linux.alibaba.com
Fri Jun 25 02:28:24 PDT 2021


Clean up the following includecheck warning:

./arch/riscv/kernel/vmlinux-xip.lds.S: asm/pgtable.h is included more
than once.

No functional change.

Reported-by: Abaci Robot <abaci at linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong at linux.alibaba.com>
---
 arch/riscv/kernel/vmlinux-xip.lds.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/kernel/vmlinux-xip.lds.S b/arch/riscv/kernel/vmlinux-xip.lds.S
index a3ff09c..af776555 100644
--- a/arch/riscv/kernel/vmlinux-xip.lds.S
+++ b/arch/riscv/kernel/vmlinux-xip.lds.S
@@ -12,7 +12,6 @@
 
 #include <asm/vmlinux.lds.h>
 #include <asm/page.h>
-#include <asm/pgtable.h>
 #include <asm/cache.h>
 #include <asm/thread_info.h>
 
-- 
1.8.3.1




More information about the linux-riscv mailing list