From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
To: will@kernel.org
Cc: aneesh.kumar@linux.ibm.com, akpm@linux-foundation.org,
npiggin@gmail.com, peterz@infradead.org,
linux-arch@vger.kernel.org, linux-mm@kvack.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Subject: [PATCH] asm-generic/tlb: Fix duplicate included asm-generic/tlb.h
Date: Fri, 14 May 2021 17:14:31 +0800 [thread overview]
Message-ID: <1620983671-45286-1-git-send-email-jiapeng.chong@linux.alibaba.com> (raw)
Clean up the following includecheck warning:
./arch/arm/include/asm/tlb.h: asm-generic/tlb.h is included more than
once.
No functional change.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
arch/arm/include/asm/tlb.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/include/asm/tlb.h b/arch/arm/include/asm/tlb.h
index b8cbe03..df4a6ea 100644
--- a/arch/arm/include/asm/tlb.h
+++ b/arch/arm/include/asm/tlb.h
@@ -15,6 +15,7 @@
#define __ASMARM_TLB_H
#include <asm/cacheflush.h>
+#include <asm-generic/tlb.h>
#ifndef CONFIG_MMU
@@ -22,8 +23,6 @@
#define tlb_flush(tlb) ((void) tlb)
-#include <asm-generic/tlb.h>
-
#else /* !CONFIG_MMU */
#include <linux/swap.h>
@@ -34,8 +33,6 @@ static inline void __tlb_remove_table(void *_table)
free_page_and_swap_cache((struct page *)_table);
}
-#include <asm-generic/tlb.h>
-
static inline void
__pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, unsigned long addr)
{
--
1.8.3.1
reply other threads:[~2021-05-14 9:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1620983671-45286-1-git-send-email-jiapeng.chong@linux.alibaba.com \
--to=jiapeng.chong@linux.alibaba.com \
--cc=akpm@linux-foundation.org \
--cc=aneesh.kumar@linux.ibm.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=npiggin@gmail.com \
--cc=peterz@infradead.org \
--cc=will@kernel.org \
/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
all inboxes | Powered by JetHome®