From patchwork Fri Mar 10 20:54:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 67699 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1102848wrd; Fri, 10 Mar 2023 13:14:56 -0800 (PST) X-Google-Smtp-Source: AK7set9q5Re4/747GwF6jEwUo1YDu0w2VicNcQFPvkDAEOr75329/oR8zL92ImzHrgmqLgFoF+7n X-Received: by 2002:a05:6a20:1d59:b0:cc:d891:b2ad with SMTP id cs25-20020a056a201d5900b000ccd891b2admr22034100pzb.20.1678482896293; Fri, 10 Mar 2023 13:14:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678482896; cv=none; d=google.com; s=arc-20160816; b=s6GL6Xs9OtpVV5L1icqB2Z+fHGMJPO7Zsuq29Zkw2LT2wv8p8hOsORLyoZX7X3JV3Q GlGapFhXuQVeR+rYdxYY/j3XwYbvLJOnPIKxAN8QnbiyW7Rc1lxILiWyEtUzPP3lRX9b taJvPQhe8Ozklk+RbooBGCA7BAhwl0vjdqjJaU/vdBQVvB5t5MFUxhxcpLcgeC4aRmYX Rn7YEJCSzoctVD9nlDHuDXCU2YGuwCHdMIBJNk8SuhKH9qx/orRH2of45EcskVG8TI79 Mx844uEOKJGrhehESs/GpjftDUlFZTxcYfG7gQpHzXTQb86GBg62vXrM2HjfQzdVV6Es 5gew== 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=0xx/xb8nW0noM4NPp5Z+niYn3IjmBl5tllV8+M8Fi18=; b=PuYPkqNsvmvLtBH7mIgnTYClDBK4Yi2MRWQLBizTDEkgXp/1kIAnIlDAZ3vRpnHmgf uM09KxMLQIZ9BBMFfaPYzeZ3a1BBUKzrDu8lL4M3Oayz4+/V1ZoqobptZ1EiyUM4FLWc Tn13QR5Az0LQttSmIguwo5n566bvz+tjLYmIb9rqf8HninOARMFGt0il53nHgkJHyhDc 3eDZ4QyASxUdk1zAvISPb5y3ZKMtbhD/eJhxcXTUAM3L3qssoPXRe2vCF7G8WwlomK+5 SIW7dUc5NtPhrilMWCZedhJhP4aWoytrCzoRlayZ3lLS3owI+uC7iDQieRZUQChS9MFU kwIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=lJu9BURT; dkim=neutral (no key) header.i=@linutronix.de; 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 x22-20020aa78f16000000b0058b9025bd61si579020pfr.53.2023.03.10.13.14.41; Fri, 10 Mar 2023 13:14:56 -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=lJu9BURT; dkim=neutral (no key) header.i=@linutronix.de; 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 S231710AbjCJUzt (ORCPT + 99 others); Fri, 10 Mar 2023 15:55:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231454AbjCJUyy (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 234D7118BED; Fri, 10 Mar 2023 12:54:53 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:50 -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=0xx/xb8nW0noM4NPp5Z+niYn3IjmBl5tllV8+M8Fi18=; b=lJu9BURT1qnJHceKBt7UYfKf4vzW5HwFddaKWCkP4VbPfhXzYU9LH1mGofLQV3NKd+PeZ8 TUh5BwcCnMJkoZo4+8GlEZ8m83L6h1NSyAJowtP+wC9luDev5S522gkyQMx6hUgpjOBZwt K4q2cl/dtRHEkLPPZIct/nlqG3PVeqZqmRytYokTkcfd19bRsBVEfJM9aOsYxawbkwlAib D8aZTxRBn/895+0Je7OJ1mqfzUve1QodIVovgxcpuFtS5qBpttvjbXBMApUQx6go9Pdrn5 Y6jfTKhnkfi7A1QJ0XGLPzOIab4cLltgoBHtSuI971Pakh3oiIC/X4ucQH/S5w== 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=0xx/xb8nW0noM4NPp5Z+niYn3IjmBl5tllV8+M8Fi18=; b=lxnBhUFZ0124NGJIWBbPV9VlPowV0L7X+gMG6MG060sApUlDO0kjfGi1EFOrlCkvL+YU5p hC4akQ6HfNDq7JAQ== 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] sh/cpu: Mark play_dead() __noreturn Cc: Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <03549a74fad9f73576d57e6fc0b5102322f9cff4.1676358308.git.jpoimboe@kernel.org> References: <03549a74fad9f73576d57e6fc0b5102322f9cff4.1676358308.git.jpoimboe@kernel.org> MIME-Version: 1.0 Message-ID: <167848169065.5837.9512220401429601298.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?1757789455060535273?= X-GMAIL-MSGID: =?utf-8?q?1760016881367946174?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 1644b74192265875cdf37dadfa33f34e0ea4fcc8 Gitweb: https://git.kernel.org/tip/1644b74192265875cdf37dadfa33f34e0ea4fcc8 Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:48 -08:00 Committer: Josh Poimboeuf CommitterDate: Wed, 08 Mar 2023 08:44:24 -08:00 sh/cpu: Mark play_dead() __noreturn play_dead() doesn't return. Annotate it as such. By extension this also makes arch_cpu_idle_dead() noreturn. Link: https://lore.kernel.org/r/03549a74fad9f73576d57e6fc0b5102322f9cff4.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/sh/include/asm/smp-ops.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sh/include/asm/smp-ops.h b/arch/sh/include/asm/smp-ops.h index 63866b1..97331fc 100644 --- a/arch/sh/include/asm/smp-ops.h +++ b/arch/sh/include/asm/smp-ops.h @@ -24,7 +24,7 @@ static inline void plat_smp_setup(void) mp_ops->smp_setup(); } -static inline void play_dead(void) +static inline void __noreturn play_dead(void) { mp_ops->play_dead(); BUG(); @@ -43,7 +43,7 @@ static inline void register_smp_ops(struct plat_smp_ops *ops) { } -static inline void play_dead(void) +static inline void __noreturn play_dead(void) { BUG(); }