From patchwork Fri May 14 09:14:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 12257293 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39A7DC433ED for ; Fri, 14 May 2021 09:14:56 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BCB2861352 for ; Fri, 14 May 2021 09:14:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BCB2861352 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2BC736B0036; Fri, 14 May 2021 05:14:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 291876B006E; Fri, 14 May 2021 05:14:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1A8726B0070; Fri, 14 May 2021 05:14:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0216.hostedemail.com [216.40.44.216]) by kanga.kvack.org (Postfix) with ESMTP id E04866B0036 for ; Fri, 14 May 2021 05:14:54 -0400 (EDT) Received: from smtpin37.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 8A23AAF97 for ; Fri, 14 May 2021 09:14:54 +0000 (UTC) X-FDA: 78139276908.37.9AF9EAC Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by imf01.hostedemail.com (Postfix) with ESMTP id 3E86D5001522 for ; Fri, 14 May 2021 09:14:50 +0000 (UTC) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R241e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0UYqB9hX_1620983673; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UYqB9hX_1620983673) by smtp.aliyun-inc.com(127.0.0.1); Fri, 14 May 2021 17:14:48 +0800 From: Jiapeng Chong 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 Subject: [PATCH] asm-generic/tlb: Fix duplicate included asm-generic/tlb.h Date: Fri, 14 May 2021 17:14:31 +0800 Message-Id: <1620983671-45286-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Authentication-Results: imf01.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=alibaba.com; spf=pass (imf01.hostedemail.com: domain of jiapeng.chong@linux.alibaba.com designates 115.124.30.131 as permitted sender) smtp.mailfrom=jiapeng.chong@linux.alibaba.com X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 3E86D5001522 X-Stat-Signature: mh9stbm3ydn1hbhbteg85oqxupreujai X-HE-Tag: 1620983690-431249 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 Signed-off-by: Jiapeng Chong --- 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 +#include #ifndef CONFIG_MMU @@ -22,8 +23,6 @@ #define tlb_flush(tlb) ((void) tlb) -#include - #else /* !CONFIG_MMU */ #include @@ -34,8 +33,6 @@ static inline void __tlb_remove_table(void *_table) free_page_and_swap_cache((struct page *)_table); } -#include - static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, unsigned long addr) {