From: menglong8.dong@gmail.com
To: vladimir.murzin@arm.com
Cc: linux@armlinux.org.uk, akpm@linux-foundation.org,
rppt@kernel.org, maz@kernel.org, geert@linux-m68k.org,
anshuman.khandual@arm.com, zhang.yunkai@zte.com.cn,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] module: remove duplicate include in ./arch/arm/include/asm/pgtable.h
Date: Tue, 2 Mar 2021 18:04:22 -0800 [thread overview]
Message-ID: <20210303020422.174818-1-zhang.yunkai@zte.com.cn> (raw)
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
next reply other threads:[~2021-03-03 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 2:04 menglong8.dong [this message]
2021-03-03 8:22 ` [PATCH] module: remove duplicate include in ./arch/arm/include/asm/pgtable.h Geert Uytterhoeven
2021-03-03 10:24 ` Russell King - ARM Linux admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210303020422.174818-1-zhang.yunkai@zte.com.cn \
--to=menglong8.dong@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=geert@linux-m68k.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maz@kernel.org \
--cc=rppt@kernel.org \
--cc=vladimir.murzin@arm.com \
--cc=zhang.yunkai@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).