From patchwork Fri Mar 10 20:54:53 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: 67685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1095275wrd; Fri, 10 Mar 2023 12:57:18 -0800 (PST) X-Google-Smtp-Source: AK7set/Srk6Lt+mtWKfVCasyqPIRKrhf6la7T3zDY/X7VDjP4avqaNnYydhqpFwtii4ryB64wOf6 X-Received: by 2002:a17:903:41c6:b0:19d:181f:511 with SMTP id u6-20020a17090341c600b0019d181f0511mr32091000ple.30.1678481838681; Fri, 10 Mar 2023 12:57:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678481838; cv=none; d=google.com; s=arc-20160816; b=ndMYO7HHeNvcO/BgHkFYh1Q9zxkXX+TV7QOe2il3vrj9vd2lFuN9YjbgbfxVvRzBtm yOBj25ViulbkB1G6SGjVKwGOgrBnqAv1Vw4y6zyR6a0iLgINtV3gF6wKspP7Nor2zAZP DgTe8CLAVqQJNPizErRCzl38OQODgCNYawkz1S27QPRvvejdQwqpNr2dy5ycREr15iYn ExcLvJQKS7WFE4J4wc4eWVSIFx1ftFwrVlmU8iS/UlSlJy1nKhZqXID3ghKaFF5MeNa5 OgTWX/PLJzBcjaimxWM1/fOqGco/i0yDeBgkY/Qm94ZPBCHiOJP2qsAJHmM75y95o+DY 13JA== 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=DkS8ffj6l4DSQ1wDgSe+WmN13XI+OvNKC2dLe4V4i34=; b=guwzpyV7bg0ezrVXbd0hcDp+1FBSNjYrNrCWRjKDQm6sbbbC6cycvUnPY9pevmGXOH kr+oSrZJ6hHTK7p6EiQ/RP4eI79X/71HPf43SNpOlAJ8NNXKAYbnyUXoGEHA9ClqG9aZ 8NJ94JCAKfbh229opUDBgRVPLLGpYpMFH2a1FufUIpI3k6NcbqJ9yV1CWCSQQL86CUBs oeCz7e9wTQvFZCz39R3OFUcaLS8OXuik/eYDDd6d1nNIivwHWxW1YGwc8vKZuKncxLgK lYB0lSUqgrBgK9FjeyBWJQ0Z1PuL/M6+wDicosnyL2E37kgvkFSB+5s7haY5vcg6TzcR ZkbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=2G2mRsjE; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 v10-20020a1709028d8a00b0019ce4e2be99si725971plo.193.2023.03.10.12.57.06; Fri, 10 Mar 2023 12:57:18 -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=2G2mRsjE; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 S231596AbjCJU4B (ORCPT + 99 others); Fri, 10 Mar 2023 15:56:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231565AbjCJUyz (ORCPT ); Fri, 10 Mar 2023 15:54:55 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 208F4118BED; Fri, 10 Mar 2023 12:54:55 -0800 (PST) Date: Fri, 10 Mar 2023 20:54:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1678481693; 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=DkS8ffj6l4DSQ1wDgSe+WmN13XI+OvNKC2dLe4V4i34=; b=2G2mRsjELY2IAQp+TzHzsynwsUt8o67AoCS3dtbtQ/ltD50ZYtjCXwhUiamuPM0/lmbgSc 8QtgMXGgF+qJtWPkMd7+pql0rKfb6bS+7URGQNusXy4autQRGUFfthVLK/0i1dPSQ+FInC bO5Ujz/zaM3Q0dekkUnwh3ptI0p3iDT7w97fTTbc91W667ywsbTZBzMNELH3J/BhYSo5MZ iAYqtQe8p4NUo7FcuCgwelTmtBEaSiGo55RX+AfPT2ZNxZ7b71cLwb6nQ/1S9Ua7H2bBI8 VGsd8VSWhMZmU5968kgfnyTegymf9IYi54ijEOQ6b/BWVYRloo6vqkWHSzJ1oA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1678481693; 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=DkS8ffj6l4DSQ1wDgSe+WmN13XI+OvNKC2dLe4V4i34=; b=8nByOR6iECZYA2dmQm1VMnqI8rbNKyaETN21pSn4OrQmKM4G8mu2aQ0aywt6NS8KhMF76j obUimiRHuGjf7ZBA== 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] loongarch/cpu: Mark play_dead() __noreturn Cc: philmd@linaro.org, Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <4da55acfdec8a9132c4e21ffb7edb1f846841193.1676358308.git.jpoimboe@kernel.org> References: <4da55acfdec8a9132c4e21ffb7edb1f846841193.1676358308.git.jpoimboe@kernel.org> MIME-Version: 1.0 Message-ID: <167848169339.5837.3411505337916223635.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?1757789398577715879?= X-GMAIL-MSGID: =?utf-8?q?1760015772578828861?= The following commit has been merged into the objtool/core branch of tip: Commit-ID: 6c0f2d071eded22cb72413e0abfaa5b3373b4d96 Gitweb: https://git.kernel.org/tip/6c0f2d071eded22cb72413e0abfaa5b3373b4d96 Author: Josh Poimboeuf AuthorDate: Mon, 13 Feb 2023 23:05:42 -08:00 Committer: Josh Poimboeuf CommitterDate: Mon, 06 Mar 2023 15:34:06 -08:00 loongarch/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/4da55acfdec8a9132c4e21ffb7edb1f846841193.1676358308.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- arch/loongarch/include/asm/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/loongarch/include/asm/smp.h b/arch/loongarch/include/asm/smp.h index d826873..416b653 100644 --- a/arch/loongarch/include/asm/smp.h +++ b/arch/loongarch/include/asm/smp.h @@ -99,7 +99,7 @@ static inline void __cpu_die(unsigned int cpu) loongson_cpu_die(cpu); } -extern void play_dead(void); +extern void __noreturn play_dead(void); #endif #endif /* __ASM_SMP_H */