Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp730985pxu; Wed, 2 Dec 2020 01:42:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6W6CuD8M7xtR13YWbYnT5XxiR0VNJCVlC/0X5ClFaaVy0kyQ2N/7DGDwQ9YVT8Q1U3T2i X-Received: by 2002:a17:906:9345:: with SMTP id p5mr1487821ejw.40.1606902140280; Wed, 02 Dec 2020 01:42:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606902140; cv=none; d=google.com; s=arc-20160816; b=cIf7dfN6BGRLQFOXUEOUWhaztw3KnOeTCR8JPfLxwpOvLgQ32SPHXcwt0W8IHa5Fr1 LfWXabQ6odJ7vRBlACKXqyQ91AXbB0uD52QvjmW8sxnOXbMwm1dsPRHPDhkR3RrMcBie aBLPWI2rfK00008Bd+wUAvB+0EBD40+72uMe06inO2SjRX4ngdjGdYe7CXABjTOuBp/h u9LsV8plYzCVKW8BRV7nqUNcQzc+VYnc4neJaFiEtra5tqAw1SqL4W7F0vkNY1ottRag 9WMe2k5Xs5UEWvUz5DfpyqenvcKEmQ8HoCXKVl4kCpz1MvoP/xW/JoN4T0Xc3jTlE5pu IIZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=TAuxjYBKISItdRCewIBg69/sL7aoxkOickZXDOHQkSY=; b=NRD3ISDqvJ7+6Qcy6k1t74On3Ab8bmInHDrrmHsgTs8hcR9rPBSwx/iJMULPzBPV2S zzOIM1d+AqdkVFW0c3GhwzkMnHOayaMdFXAJnjbNrcOJSy2lu0rv53eiaQcG1uIJRT6Y 5MjkzU6bcu0Wp2O8Ys4DEWztRVhJ3eUQ+59teAGAyvAdq6V7DHU7N5jAJnFbtw5HZsNr 8w8KSdMrTWLxyfnKDayX5m12qmP1gnPh2RG6xisO3OTfuMItz91NQN4FTfi0xRy8S5EA R2D7NIAHcFAMPy8/JYUcvK74BON/KOnNOpqPGEZunD7V3geQYORK1ppkcBow2cBbdGEY i1yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YncyvtwU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=rFfjQtlL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si519314ejt.383.2020.12.02.01.41.56; Wed, 02 Dec 2020 01:42:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YncyvtwU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=rFfjQtlL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388281AbgLBJjO (ORCPT + 99 others); Wed, 2 Dec 2020 04:39:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388251AbgLBJjJ (ORCPT ); Wed, 2 Dec 2020 04:39:09 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 623D6C0613D4; Wed, 2 Dec 2020 01:38:29 -0800 (PST) Date: Wed, 02 Dec 2020 09:38:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1606901907; 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=TAuxjYBKISItdRCewIBg69/sL7aoxkOickZXDOHQkSY=; b=YncyvtwUvdZ3K2WWp+R0Frp69LqPFhiysemU+mj9DiTpcAI2Ted6JoKoBqPlz5CxIny809 UyLYmNwNykAcnzOJitwuwMYzR4Gqh+j+lgoJw1T0JPpw+H3ZLAIQQgjid7WeSpleXAlIHP +tdMWugMzfpo3WIDBNvynIZy6DhsY6t5Ihy7QUFf8KwIf0IutkRSGTC0a/OewB31qv0hVo mM3G/T5qXoOMhRAWnGPjYX5QPtyUH0LTHBJFwiMblyxI4SlHfZxUgYsRtrHk+Vu5lDtPhH Dx7ok9LtW0kdKOMLPHq7trI86oVwSaYsqXa9mfqYLKZyW0WM3tEe3+Tz7iR9ew== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1606901907; 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=TAuxjYBKISItdRCewIBg69/sL7aoxkOickZXDOHQkSY=; b=rFfjQtlLf3xO0fWzX2pbvXNzReC3V4CiQek+RoFqINcgWpGbr/EEW/BRf9AB2DgpFAGGbL vKxUs11mCksKdSBQ== From: "tip-bot2 for Sven Schnelle" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: core/entry] entry: Rename enter_from_user_mode() Cc: Sven Schnelle , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20201201142755.31931-2-svens@linux.ibm.com> References: <20201201142755.31931-2-svens@linux.ibm.com> MIME-Version: 1.0 Message-ID: <160690190718.3364.5857834705678386429.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 core/entry branch of tip: Commit-ID: e2391bd55155ca98293b1bbaa44aa2815d3d054f Gitweb: https://git.kernel.org/tip/e2391bd55155ca98293b1bbaa44aa2815d3d054f Author: Sven Schnelle AuthorDate: Tue, 01 Dec 2020 15:27:51 +01:00 Committer: Thomas Gleixner CommitterDate: Wed, 02 Dec 2020 10:32:17 +01:00 entry: Rename enter_from_user_mode() In order to make this function publicly available rename it so it can still be inlined. An additional enter_from_user_mode() function will be added with a later commit. Signed-off-by: Sven Schnelle Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20201201142755.31931-2-svens@linux.ibm.com --- kernel/entry/common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/entry/common.c b/kernel/entry/common.c index e661e70..8e294a7 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -11,7 +11,7 @@ #include /** - * enter_from_user_mode - Establish state when coming from user mode + * __enter_from_user_mode - Establish state when coming from user mode * * Syscall/interrupt entry disables interrupts, but user mode is traced as * interrupts enabled. Also with NO_HZ_FULL RCU might be idle. @@ -20,7 +20,7 @@ * 2) Invoke context tracking if enabled to reactivate RCU * 3) Trace interrupts off state */ -static __always_inline void enter_from_user_mode(struct pt_regs *regs) +static __always_inline void __enter_from_user_mode(struct pt_regs *regs) { arch_check_user_regs(regs); lockdep_hardirqs_off(CALLER_ADDR0); @@ -103,7 +103,7 @@ noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall) { long ret; - enter_from_user_mode(regs); + __enter_from_user_mode(regs); instrumentation_begin(); local_irq_enable(); @@ -115,7 +115,7 @@ noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall) noinstr void syscall_enter_from_user_mode_prepare(struct pt_regs *regs) { - enter_from_user_mode(regs); + __enter_from_user_mode(regs); instrumentation_begin(); local_irq_enable(); instrumentation_end(); @@ -304,7 +304,7 @@ __visible noinstr void syscall_exit_to_user_mode(struct pt_regs *regs) noinstr void irqentry_enter_from_user_mode(struct pt_regs *regs) { - enter_from_user_mode(regs); + __enter_from_user_mode(regs); } noinstr void irqentry_exit_to_user_mode(struct pt_regs *regs)