Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69200C6FD19 for ; Fri, 10 Mar 2023 20:56:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231751AbjCJU4G (ORCPT ); Fri, 10 Mar 2023 15:56:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231589AbjCJUy5 (ORCPT ); Fri, 10 Mar 2023 15:54:57 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0BF5134834; Fri, 10 Mar 2023 12:54:55 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678481694; 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=sZQFgkLyqgzGLGHjVqYTK+KkXuc6biL1j5p0h/srLH4=; b=PadbPwntsyKvBE66lXH0ljTuHhRCWxIEt/Bvmh+BEY2asTvc2NpOpvSnZ0GTDXCYKxdCWh Q5qXRAAqhy6xlX/KxJmfDjlVOTMll02KHqlcWUkGfOWtAAs427lmRFL7K/knytD6Zgsj4X fTWvhtsNL8p8a7PeDCgwBmrH6SfWy8l4aX+UWAd2DsU2yGYWsfWpX7JMovtNfD36FVlAPd 10qobHjGF+r05kbN26zitm907Vx+1dP6H2X8Uo8CNsasqhequxHOtLNe2pvK9oUpUyK1Zs iesgGkGvPewJxwEmNn/iatW97d3Ee9dEmwjobXUC95swomIiBDKr20x30o24Lg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481694; 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=sZQFgkLyqgzGLGHjVqYTK+KkXuc6biL1j5p0h/srLH4=; b=yzaOhOaGsOhqByD2UBd7R3R9vu6ZAd26WrKn2WWRl21mUQ3QUcX6C/G27OW6wtlAg0alD9 /SFMR3WZAz0Fw2Dg== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/core] ia64/cpu: Mark play_dead() __noreturn Cc: philmd@linaro.org, Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <7575bb38417bd8bcb5be980443f99cab29319342.1676358308.git.jpoimboe@kernel.org> References: <7575bb38417bd8bcb5be980443f99cab29319342.1676358308.git.jpoimboe@kernel.org> MIME-Version: 1.0 Message-ID: <167848169428.5837.6930326626536947091.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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the objtool/core branch of tip: Commit-ID: 93c0edffbc92abe1efb8c7081df0cc1577a79ace Gitweb: https://git.kernel.org/tip/93c0edffbc92abe1efb8c7081df0cc1577a= 79ace Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:40 -08:00 Committer: Josh Poimboeuf CommitterDate: Mon, 06 Mar 2023 15:34:05 -08:00 ia64/cpu: Mark play_dead() __noreturn play_dead() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Link: https://lore.kernel.org/r/7575bb38417bd8bcb5be980443f99cab29319342.1676= 358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/ia64/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index f6195a0..78f5794 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c @@ -201,7 +201,7 @@ __setup("nohalt", nohalt_setup); =20 #ifdef CONFIG_HOTPLUG_CPU /* We don't actually take CPU down, just spin without interrupts. */ -static inline void play_dead(void) +static inline void __noreturn play_dead(void) { unsigned int this_cpu =3D smp_processor_id(); =20 @@ -219,7 +219,7 @@ static inline void play_dead(void) BUG(); } #else -static inline void play_dead(void) +static inline void __noreturn play_dead(void) { BUG(); }