From patchwork Fri Mar 10 20:54:54 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: 67686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1095462wrd; Fri, 10 Mar 2023 12:57:50 -0800 (PST) X-Google-Smtp-Source: AK7set/8gbYw4NIrqPUPtWNAkpBgY6T9wZ7/mdN5ewBPSsFYdIAa9td7G+V0uaDHkChlIa899AJV X-Received: by 2002:a17:902:a70a:b0:19d:1898:5b89 with SMTP id w10-20020a170902a70a00b0019d18985b89mr21154527plq.7.1678481870106; Fri, 10 Mar 2023 12:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678481870; cv=none; d=google.com; s=arc-20160816; b=gjXrI9PnNJbJNMzbObIQmKpDlh/wwot/JfRVxwlqY4dZQ/jMwZ2d4qkOdqrKuyS153 CbK+NqEwtmY1VZ1CJJKocLmLh4BMHUccZ4jBVFiUwrtPWB8NfvqQF5o3MXH15QXgDJqX 8RKemzq+NBDl9W6vYTd0+2se6kDmScBDxx3+c5Arfpw7LKBHbfCDTx7S9jQVfjB7zG3Q 6oMl0K3BirNPG3OdHT5HaTVbkVyqDcSaA5ZK4H2RI6HTmrt+LRUdOXwjKDmq6z/uUk9b f6SpwYf/F/Uhyrl0qZ7K7KUOefNC0CG/bPFHrMPuxBJWipW9jXHBhigoBNfyOn1jouSD ym9g== 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=sZQFgkLyqgzGLGHjVqYTK+KkXuc6biL1j5p0h/srLH4=; b=dUUlM6Q3GBCl0TFaD7u9UP/WLXPGvhLlct5Fufj+JA6iEK1d0DVxvWIAsVYQgq8oVy PTeKIud6yxOJBReWQpf58P9Jtxxs7x4KLyS/IOvKqGWQcFkohY4plpn/Ll6+rbhzKC4P Jp3HuGG8g+Kz/KUAr1HeXt3svtE4hN6OzglI97jUBC9lpeLlkTKt7prTG4Bm2jULzfUC DO6b+HBRvVZYutrPlQU72YMbe/Odo2WgpuMEe0dzd4aDhiyiYIR0QoPaMzZf2skVSshr DuHTt+IuuRlfIUSn4h0nDM6Pu98hABzRHOheHEWaeh5Xm3jrvMm4dx+EOJ+vNW/58QRk uTAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PadbPwnt; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=yzaOhOaG; 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 kl6-20020a170903074600b0019cb21ef999si738805plb.152.2023.03.10.12.57.37; Fri, 10 Mar 2023 12:57:50 -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=PadbPwnt; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=yzaOhOaG; 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 S231747AbjCJU4F (ORCPT + 99 others); Fri, 10 Mar 2023 15:56:05 -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 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?1757789402204353333?= X-GMAIL-MSGID: =?utf-8?q?1760015805588367110?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 93c0edffbc92abe1efb8c7081df0cc1577a79ace Gitweb: https://git.kernel.org/tip/93c0edffbc92abe1efb8c7081df0cc1577a79ace 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é Link: https://lore.kernel.org/r/7575bb38417bd8bcb5be980443f99cab29319342.1676358308.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); #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 = smp_processor_id(); @@ -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(); }