linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] module: remove duplicate include in ./arch/arm/include/asm/pgtable.h
@ 2021-03-03  2:04 menglong8.dong
  2021-03-03  8:22 ` Geert Uytterhoeven
  2021-03-03 10:24 ` Russell King - ARM Linux admin
  0 siblings, 2 replies; 3+ messages in thread
From: menglong8.dong @ 2021-03-03  2:04 UTC (permalink / raw)
  To: vladimir.murzin
  Cc: linux, akpm, rppt, maz, geert, anshuman.khandual, zhang.yunkai,
	linux-arm-kernel, linux-kernel

From: Zhang Yunkai <zhang.yunkai@zte.com.cn>

'asm-generic/pgtable-nopud.h' included in 'pgtable.h' is duplicated.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 arch/arm/include/asm/pgtable.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index c02f24400369..f3124e57be83 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -9,15 +9,14 @@
 
 #include <linux/const.h>
 #include <asm/proc-fns.h>
+#include <asm-generic/pgtable-nopud.h>
 
 #ifndef CONFIG_MMU
 
-#include <asm-generic/pgtable-nopud.h>
 #include <asm/pgtable-nommu.h>
 
 #else
 
-#include <asm-generic/pgtable-nopud.h>
 #include <asm/memory.h>
 #include <asm/pgtable-hwdef.h>
 
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-03 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03  2:04 [PATCH] module: remove duplicate include in ./arch/arm/include/asm/pgtable.h menglong8.dong
2021-03-03  8:22 ` Geert Uytterhoeven
2021-03-03 10:24 ` Russell King - ARM Linux admin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).