From patchwork Fri Mar 10 20:54:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 67691 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1099548wrd; Fri, 10 Mar 2023 13:06:58 -0800 (PST) X-Google-Smtp-Source: AK7set9zELY+WYeEp0uy/wsCdTmXNPf85GJQjUyUiS8aZvgFCiFJItPfa0z1OoLgV2fbU1mL+tY3 X-Received: by 2002:a05:6a20:46a9:b0:cc:4118:7609 with SMTP id el41-20020a056a2046a900b000cc41187609mr4923437pzb.37.1678482418261; Fri, 10 Mar 2023 13:06:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678482418; cv=none; d=google.com; s=arc-20160816; b=NNM+FLCaqQmgwamQ41O/9nbbuwPff9xkIhqITHBsDXZKgwXdBPKM0gVu/FZaSEFa5U Zgpw2HxIloDPCVa80KqeJXjaBs0bvexw95RD9Yf4SkoClVSofAo1mn8OX9X5zoJyLAI5 jHydBSW2MXIT+ZrvfR2iI3cggUCbeVyJJZyX+iOYJ+HhzEGZNLXy/kUXzwfbeVg9Otha tLmCePN/LnjPDRcWVhM+T6hctIaXUeJuUbMfI8JGx4WgMHp++qZ+GtewJ0AsA6BVpSsu zSsudSwoollOEENF6AV2wMWCYYp1zVPEXsBXQgzzJEJXsBjUZMX1aypUkkF8GsZaB2nT FrFQ== 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=WqbewNBczoo3bF06S0q1OyIw53gsnHtNQwBqPxSbp6Y=; b=NWlj1CuxSgaEf8qEPPj2ZM7PiOId/iToskQ0zj+LUD/ZdL76HUGjSA3s5p4M6eU71o ISeS9ZYbfJnbxDV+VyBjCZPiXqC2fT/ePcLjbxeXV30E91kEyPFEBkOKrOBhoyBXyOb2 57uePbJ+Nj9QG0JcxAGkO9utDzdRZu4oHAb4Z9FYdYLdkXstgfTi1W1pMNPFq8CDkXPx NLKR4hfeth6GVW8Quyk9gaFgqAz4sN/a2qZDypoflFNgJKVxOTNtgi/J+CkdiZu4vZaR +VELQwNOH4SHo40jbMy2yl2j+9jBUPr1jiV2V81nJKBOAmleMEHHpLHkl4ovf5MQFbZO P/uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="YhVZ/pNg"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=a4BC9vki; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a6567c5000000b00502d84a6628si630159pgs.461.2023.03.10.13.06.36; Fri, 10 Mar 2023 13:06:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="YhVZ/pNg"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=a4BC9vki; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231715AbjCJUzz (ORCPT + 99 others); Fri, 10 Mar 2023 15:55:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbjCJUyy (ORCPT ); Fri, 10 Mar 2023 15:54:54 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A3EF136894; Fri, 10 Mar 2023 12:54:54 -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=1678481692; 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=WqbewNBczoo3bF06S0q1OyIw53gsnHtNQwBqPxSbp6Y=; b=YhVZ/pNgjFgYGz3qwAEfyUtr+u0L+o0XH+3S3x41H0RD0l0F/8An0MiPgEp6TnYJbXNfbv VN+TmoNE6KfwBcbi6LLndsWOwirXhRfNmJy/NRJUbDHlqms/z344uAK2uWX4Xw367KcUEC dYIsBjwbKuDeheF+fnlUOwIPlz2wxGgELWyuEWGimFfAoIrihRQV5498bglJ8+nqw6DWS1 0eNnq1Vrdp1Eer7JqNan0MTZhf4P9sWNjBDeYQlBl+BoVNDJSXbuUlwDRQ2rNkq8TACjXB SvuwzMKOTFdzmdAWuWswe/o8Ki/mGkPxUYpncagcteRlwc4Rsl+igfSe8pwxvA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481692; 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=WqbewNBczoo3bF06S0q1OyIw53gsnHtNQwBqPxSbp6Y=; b=a4BC9vkizVeB0iEnS3BBzk178GFoNHU5gMFR9QM2keVBvGYlGq7tkaQFQ1RiNFsJ5yNiqT +GMMbbdkAi9XDsBA== 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] mips/cpu: Mark play_dead() __noreturn Cc: Florian Fainelli , philmd@linaro.org, Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <2897b51a9b8beb5b594fe66fb1d3a479ddd2a0e2.1676358308.git.jpoimboe@kernel.org> References: <2897b51a9b8beb5b594fe66fb1d3a479ddd2a0e2.1676358308.git.jpoimboe@kernel.org> MIME-Version: 1.0 Message-ID: <167848169199.5837.7685473363893004243.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757789395344212445?= X-GMAIL-MSGID: =?utf-8?q?1760016380286724697?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 9e57f049d1571db1dc77c69c87403defc9d3e5ae Gitweb: https://git.kernel.org/tip/9e57f049d1571db1dc77c69c87403defc9d3e5ae Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:45 -08:00 Committer: Josh Poimboeuf CommitterDate: Wed, 08 Mar 2023 08:44:23 -08:00 mips/cpu: Mark play_dead() __noreturn play_dead() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Acked-by: Florian Fainelli Reviewed-by: Philippe Mathieu-Daudé Link: https://lore.kernel.org/r/2897b51a9b8beb5b594fe66fb1d3a479ddd2a0e2.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/mips/include/asm/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h index 5d9ff61..4eee29b 100644 --- a/arch/mips/include/asm/smp.h +++ b/arch/mips/include/asm/smp.h @@ -88,7 +88,7 @@ static inline void __cpu_die(unsigned int cpu) mp_ops->cpu_die(cpu); } -extern void play_dead(void); +extern void __noreturn play_dead(void); #endif #ifdef CONFIG_KEXEC