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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10EAFC6FD1E for ; Fri, 10 Mar 2023 20:55:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231673AbjCJUzn (ORCPT ); Fri, 10 Mar 2023 15:55:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231534AbjCJUyy (ORCPT ); Fri, 10 Mar 2023 15:54:54 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF2613553A; Fri, 10 Mar 2023 12:54:53 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678481691; 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=BtNO/SnUwPlmUHg4OZi5oDXWa3F6uevf/hWUwAGR5pg=; b=XdoKZRqWWuVNqSJTOY/Oq+VJK6U+uzyd4sfadVTZVrnWKU9iN315ZD469mj2S1abo6d1Nz r1F045XvMrZ/NdLZlqYhenxfC+T/nDAqEZ1V/ihY6qo+lamyf4BcQ6L5FssnLTlffPG+B2 5mSf00U4wt1sUut4SOPH3v6HxMSKMYD4daOefsg6flinKZcqyJZm3IpCa7Sc+3s4uoEile FrGoULEy9TAmlYiDNNeF0YmEJumZlQejE0b/jjeEtPh0KkMb7b2VO+XdlPVPL0kBfWHSFY 4Rzcs9za2QAtAIBcfWuHWrCgX/L4A4hVkgFynb7z20qwYJ8rDlhx03TnB4pSeQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481691; 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=BtNO/SnUwPlmUHg4OZi5oDXWa3F6uevf/hWUwAGR5pg=; b=iDW8WA8PuLA6OLSB86td08QdqvEATIf0B3JSXRZFBJeHtAjIoqBx850pPeGTqIlWGYd+nP QdKGb8HDyXl8JIAQ== 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] powerpc/cpu: Mark start_secondary_resume() __noreturn Cc: Michael Ellerman , Christophe Leroy , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <167848169152.5837.1388017286007124939.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 objtool/core branch of tip: Commit-ID: 5e00d69cdef4cd1c737e6286a39f83ce20a91034 Gitweb: https://git.kernel.org/tip/5e00d69cdef4cd1c737e6286a39f83ce20a91034 Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:46 -08:00 Committer: Josh Poimboeuf CommitterDate: Wed, 08 Mar 2023 08:44:24 -08:00 powerpc/cpu: Mark start_secondary_resume() __noreturn start_secondary_resume() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Acked-by: Michael Ellerman (powerpc) Reviewed-by: Christophe Leroy Link: https://lore.kernel.org/r/b6b2141f832d8cd8ade65f190d04b011cda5f9bb.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/powerpc/include/asm/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index 6c6cb53..aaaa576 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h @@ -67,7 +67,7 @@ void start_secondary(void *unused); extern int smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us); extern int smp_send_safe_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us); extern void smp_send_debugger_break(void); -extern void start_secondary_resume(void); +extern void __noreturn start_secondary_resume(void); extern void smp_generic_give_timebase(void); extern void smp_generic_take_timebase(void);