Message ID | 20210315135723.585169706@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3463856jai; Mon, 15 Mar 2021 07:18:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuOflbbpF8yx/R0K8q7ZvNK4o7HL8IiRcq3PNkurcS4VOWCK5qCYLupOJR2wNmelU0rEYR X-Received: by 2002:a17:906:1a16:: with SMTP id i22mr23982483ejf.522.1615817481259; Mon, 15 Mar 2021 07:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615817481; cv=none; d=google.com; s=arc-20160816; b=bqR5hV4rHeVTtF4OFc8XWqi720dOXCjKeLB+8N541IBdqwGM+XIrTrJ5B0vVoX2RcB nM11dxVXRrSOoifPuhUNorSFdsjf17hl06UBOhPhTTsQxCEDRxQOUn2ZQvbheKGYnOM5 1iqo9cQjmkukkMLwfPnlGhEpnCLwxZ0C1edPjqVML/FvZdCmF5DFrYHQh/aZs/E6DpKj 2kxw3ZeDIRDN9h7CwBpOkuYcQLaMzJD0Vx0F//hpLLUd5ekZdMAzbZzoUJOyjnfgRFOx prXFpMut3fBwISDRcNNsG+x+S2mr+v3SJp6C0uobTYbLAlXJkjQpXmGneEzXylDerxu9 F3Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7JKOHC6cjZp3il6kvC32N0y9ynggQLP35iI01auiJQI=; b=w5FXyKOZhjFtEUh0CG4rvvE6SoGuG+oRCeZ9mh41ezR5y9KF9UwKW/hV63TieeKQ1U E86eKkJOE8tjyWMdYS2BNuke7SoDJSL7XSrUp5+/ftedkjL/IPlEB22no4MA/CbtmlJ2 iok4dZ9APcvY1LyiRdzg8vtIdrZH0leIVVkwt/JgjpqUjy0bU87/B5MXRlznSojm/3os yma1nNDHjKjpKsU9x1RiQhgbp5PVWeNAyJsHK+ftRskoxoZEgUHn0GbSpmUVN/w/xHnp DpLF7tjTHw/ZEkxmmG63ReBqCNLY8hwkCdjwgm7zkA7ey0KlEYzUNUJpJ12lZk6tWo2n GzjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="hsVYpUF/"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si993553ede.37.2021.03.15.07.11.21; Mon, 15 Mar 2021 07:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b="hsVYpUF/"; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231904AbhCOOFm (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Mon, 15 Mar 2021 10:05:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:36764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbhCOOBN (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 15 Mar 2021 10:01:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1546264F21; Mon, 15 Mar 2021 14:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816851; bh=F7ooJGIPfcpYwlEUhOQ2t4Gu4YpBSugLrYGOn/zF/y4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hsVYpUF/r4s5iyUNf3E4ygKXs/yjtrTm1OVI08CsYq3STOWSNEI30dVsZr+V4sucM I1rtasTdlVWcVxdUeSzfYg/18BwP3wYKC0195pD2cTS3t6ZfRT97XxXmRnD9j0Sb4y 2+SLO2l7PKH8dUSppjxcqjUpKJMq+f1z6Tqv11ug= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Thomas Gleixner <tglx@linutronix.de>, Sebastian Andrzej Siewior <bigeasy@linutronix.de>, "Paul E. McKenney" <paulmck@kernel.org>, Ingo Molnar <mingo@kernel.org>, Prarit Bhargava <prarit@redhat.com>, Daniel Bristot de Oliveira <bristot@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Valentin Schneider <valentin.schneider@arm.com>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.19 110/120] stop_machine: mark helpers __always_inline Date: Mon, 15 Mar 2021 14:57:41 +0100 Message-Id: <20210315135723.585169706@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135720.002213995@linuxfoundation.org> References: <20210315135720.002213995@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index 6d3635c86dbe..ccdaa8fd5657 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h @@ -138,7 +138,7 @@ int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus); #else /* CONFIG_SMP || CONFIG_HOTPLUG_CPU */ -static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, +static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) { unsigned long flags; @@ -149,14 +149,15 @@ static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, return ret; } -static inline int stop_machine(cpu_stop_fn_t fn, void *data, - const struct cpumask *cpus) +static __always_inline int +stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) { return stop_machine_cpuslocked(fn, data, cpus); } -static inline int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, - const struct cpumask *cpus) +static __always_inline int +stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, + const struct cpumask *cpus) { return stop_machine(fn, data, cpus); }