From mboxrd@z Thu Jan 1 00:00:00 1970 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=-20.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 01ACAC433E9 for ; Sat, 6 Mar 2021 12:14:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C43346501D for ; Sat, 6 Mar 2021 12:14:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbhCFMN0 (ORCPT ); Sat, 6 Mar 2021 07:13:26 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:34886 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231124AbhCFMMz (ORCPT ); Sat, 6 Mar 2021 07:12:55 -0500 Date: Sat, 06 Mar 2021 12:12:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1615032774; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GabNP3nngvrB/kPHOLDlaGMzMVxZDpXSNis0P8LTqKs=; b=JGcAccGHBOOQjAsN3d/RkJmcH5lOzxRewsmmxCe67x3SN52+yVr4rb9yu01dXkZellk3mg cS6U9Iz4Ezl/88wf5Esoj42WW9qryT+581hSQ+H5mUh9blrTVeO8Qh02672KolzN/u3lZl mKmDeCVIVqf+p9uP52qWnn9Pa6ZmWfEzHLtUhjrcPcsKUWD6ZVUZ6vhfqix7GV0NVhCYYE bjM5JHXeeEpRLNbfKdyEpKSP56APEFnOqjwMQ6u/7M1ZB7yM4W4fbadufywfCR7QEA0h8V 7tQLvk9H0qtcBWvojmdrfr++wLko5zfgx1aIp0i6W6aKcsNR4WqurNgPQIvI/A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1615032774; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GabNP3nngvrB/kPHOLDlaGMzMVxZDpXSNis0P8LTqKs=; b=uJ2BQPPhbr74HUIpGOrn6DZ7hW1yAYPeufYTbMUzbcfccraOC2tA0VE9x5H0XabQW7TwFR fuOIwyzpjwhWhrAA== From: "tip-bot2 for Nadav Amit" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/mm] x86/mm/tlb: Remove unnecessary uses of the inline keyword Cc: Dave Hansen , Nadav Amit , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210220231712.2475218-9-namit@vmware.com> References: <20210220231712.2475218-9-namit@vmware.com> MIME-Version: 1.0 Message-ID: <161503277415.398.10365079304634710840.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/mm branch of tip: Commit-ID: 1608e4cf31b88c8c448ce13aa1d77969dda6bdb7 Gitweb: https://git.kernel.org/tip/1608e4cf31b88c8c448ce13aa1d77969dda6bdb7 Author: Nadav Amit AuthorDate: Sat, 20 Feb 2021 15:17:11 -08:00 Committer: Ingo Molnar CommitterDate: Sat, 06 Mar 2021 12:59:10 +01:00 x86/mm/tlb: Remove unnecessary uses of the inline keyword The compiler is smart enough without these hints. Suggested-by: Dave Hansen Signed-off-by: Nadav Amit Signed-off-by: Ingo Molnar Reviewed-by: Dave Hansen Link: https://lore.kernel.org/r/20210220231712.2475218-9-namit@vmware.com --- arch/x86/mm/tlb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index 17ec4bf..f4b162f 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm/tlb.c @@ -316,7 +316,7 @@ void switch_mm(struct mm_struct *prev, struct mm_struct *next, local_irq_restore(flags); } -static inline unsigned long mm_mangle_tif_spec_ib(struct task_struct *next) +static unsigned long mm_mangle_tif_spec_ib(struct task_struct *next) { unsigned long next_tif = task_thread_info(next)->flags; unsigned long ibpb = (next_tif >> TIF_SPEC_IB) & LAST_USER_MM_IBPB; @@ -880,7 +880,7 @@ static DEFINE_PER_CPU_SHARED_ALIGNED(struct flush_tlb_info, flush_tlb_info); static DEFINE_PER_CPU(unsigned int, flush_tlb_info_idx); #endif -static inline struct flush_tlb_info *get_flush_tlb_info(struct mm_struct *mm, +static struct flush_tlb_info *get_flush_tlb_info(struct mm_struct *mm, unsigned long start, unsigned long end, unsigned int stride_shift, bool freed_tables, u64 new_tlb_gen) @@ -907,7 +907,7 @@ static inline struct flush_tlb_info *get_flush_tlb_info(struct mm_struct *mm, return info; } -static inline void put_flush_tlb_info(void) +static void put_flush_tlb_info(void) { #ifdef CONFIG_DEBUG_VM /* Complete reentrency prevention checks */