Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp874746imm; Wed, 25 Jul 2018 07:38:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctx2bywPJp4ei6yq2Mv8f4eToMuEt8UKGESOezyM0HSq38qoRjOkEv/rBu3NvEGFPoXMHv X-Received: by 2002:a17:902:5a4c:: with SMTP id f12-v6mr21319381plm.253.1532529535901; Wed, 25 Jul 2018 07:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532529535; cv=none; d=google.com; s=arc-20160816; b=bJNstCbPNbgQf4zxQa5BGTSXra6LRtIcB25E0KvjGDSuZJiUuofMi2OW/3q+N80Fgq PKsG0shZ6HPlY9zjdhmdDOvxYh9rurY9v3OZqEEtPKqNIemT+0/rV6u9HfsxYZcosd3B vqtFnABnMKNeszC0vsKlJHSfOBhK2k/u3sg5FScdhLLnUhsXrz66r0heBa3fJnXxlv8d AYLLN5y75xCqFfCNft5ENvkDJCmuoALnD8Wr/IOu/sBF6VMHfdVXJpLZIykW7MZt/Wx3 yAOauc6X8zTaVejfivGTr35GoeqBN9py5kLVesNnWgWyzDYtr5N+ZbY55s53LlcBRfF3 5Hhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=eG5Dlfm4kdl8h2dhbTSaDbXhVYIclbGD1xoJUQolJxE=; b=AScKWVmMhWTNAP0p+8WNKVooHxQrhwUUI07zzX6WtXFo4B0QGzO7R1QM+/Lkg0n/50 EU8UOWZtYH80UCzcAdhalV2TQcJF0J1QgHNkyPOW03BbUczBWgseBzsczflPcEtbPXt0 UB7K941rtEkQ2U4hCXDe3KFS3TJ8dZaIw4dioIjEObMHIdgiYXEgOV5ZxjlU4JKeTnwp +g6ogyzXdxfyZ/GJrEsH5BeAuVJ7KPPIXMcPTPIQQmd7polBiKHF8tcUaZWNm6MLi28/ bD6FEL09qpqrDhc1BZWmOGKaEhGXbP9k05ERzB2l4n2arCMBu2stesWXyFlypAEwc1dW 4k3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2-v6si14074844pgg.552.2018.07.25.07.38.41; Wed, 25 Jul 2018 07:38:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729497AbeGYPtf (ORCPT + 99 others); Wed, 25 Jul 2018 11:49:35 -0400 Received: from terminus.zytor.com ([198.137.202.136]:36107 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728631AbeGYPtf (ORCPT ); Wed, 25 Jul 2018 11:49:35 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w6PEbFZD403772 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 25 Jul 2018 07:37:15 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w6PEbFNB403769; Wed, 25 Jul 2018 07:37:15 -0700 Date: Wed, 25 Jul 2018 07:37:15 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Anders Roxell Message-ID: Cc: tglx@linutronix.de, anders.roxell@linaro.org, peterz@infradead.org, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org Reply-To: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, anders.roxell@linaro.org, tglx@linutronix.de, mingo@kernel.org, peterz@infradead.org, hpa@zytor.com In-Reply-To: <20180725095557.19668-1-anders.roxell@linaro.org> References: <20180725095557.19668-1-anders.roxell@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/mm] arm/asm/tlb.h: Fix build error implicit func declaration Git-Commit-ID: 063daa8129f94d651c4d30a8333b577c5bbf8090 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_48_96 autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 063daa8129f94d651c4d30a8333b577c5bbf8090 Gitweb: https://git.kernel.org/tip/063daa8129f94d651c4d30a8333b577c5bbf8090 Author: Anders Roxell AuthorDate: Wed, 25 Jul 2018 11:55:57 +0200 Committer: Ingo Molnar CommitDate: Wed, 25 Jul 2018 12:09:09 +0200 arm/asm/tlb.h: Fix build error implicit func declaration Building on arm 32 with LPAE enabled we don't include asm-generic/tlb.h, where we have tlb_flush_remove_tables_local and tlb_flush_remove_tables defined. The build fails with: mm/memory.c: In function ‘tlb_remove_table_smp_sync’: mm/memory.c:339:2: error: implicit declaration of function ‘tlb_flush_remove_tables_local’; did you mean ‘tlb_remove_table’? [-Werror=implicit-function-declaration] ... This bug got introduced in: 2ff6ddf19c0e ("x86/mm/tlb: Leave lazy TLB mode at page table free time") To fix this issue we define them in arm 32's specific asm/tlb.h file as well. Signed-off-by: Anders Roxell Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: dave.hansen@intel.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux@armlinux.org.uk Cc: riel@surriel.com Cc: songliubraving@fb.com Fixes: 2ff6ddf19c0e ("x86/mm/tlb: Leave lazy TLB mode at page table free time") Link: http://lkml.kernel.org/r/20180725095557.19668-1-anders.roxell@linaro.org Signed-off-by: Ingo Molnar --- arch/arm/include/asm/tlb.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/include/asm/tlb.h b/arch/arm/include/asm/tlb.h index d5562f9ce600..f854148c8d7c 100644 --- a/arch/arm/include/asm/tlb.h +++ b/arch/arm/include/asm/tlb.h @@ -292,5 +292,13 @@ static inline void tlb_remove_check_page_size_change(struct mmu_gather *tlb, { } +static inline void tlb_flush_remove_tables(struct mm_struct *mm) +{ +} + +static inline void tlb_flush_remove_tables_local(void *arg) +{ +} + #endif /* CONFIG_MMU */ #endif