Message ID | 20230214083857.50163-1-philmd@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2846171wrn; Tue, 14 Feb 2023 00:45:20 -0800 (PST) X-Google-Smtp-Source: AK7set9UgniABCBy8XEPNtk63+ulE3WjV1Ccd9rtUO/gSt5JGIBWDZrn71cEKgZ5yz7DrFdQiLW5 X-Received: by 2002:a17:906:a389:b0:87b:d597:1fd5 with SMTP id k9-20020a170906a38900b0087bd5971fd5mr2619197ejz.75.1676364320417; Tue, 14 Feb 2023 00:45:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676364320; cv=none; d=google.com; s=arc-20160816; b=01tyEGhX3q9G3U44vxejmpwJfRMp21TKiVdGZuOwBpUyjQazxj9aniGJWy3MfzeEhB 8K71v680JFQvt9AjnVv4fnDuBYxCr22TKU40wmf4eBcHS+4UHedM8EC+K0c9sKjwY7LB xh4Uws9v1PphXpNB/aUpYXKHJ/uFgwiRSLIofhqvUIOIZxwcnJYU3FcJMG+N3FfP5rQy qImra1RJQHRycjNrhGAWhOgjF+wE8jjUrR+e2lFEWu961h25YuD8WuHrOoMwHV471xn3 KEsWH6gSnBAkLXlV0T/XmdkM1mD5qy7DN3mONTBc10GMrmXQyuhkGgWQEkQFy8QvOZrm qeJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OdH7YLxEU7+x8TyQ0RXRl7vlHPOb2AyhEBJfEDpogjo=; b=athtwsg7dqGiWBPBmppuZR+pJsLsQv1pk5NYJqETS8h+kvDmIN4uvSJuTJBm9dC8oF 9CKIEwhFQgTTtnk2gpuBmrOCBTw/AYFqCDHRydFG1jKGXcQ8NKWFwQemwqa7r9A2ygQh 6iKxJFeFGZCqYl4jDXeWj6lxWxz2QMoepR+tl0NSaGzWqXqaY9x0qLeXNbQllc+u/I5O G7X9CvbK88WiND9M8HgUn0y02UfpI0ElB4wh7Etmc7mRApAso8KJG3x7lWBJR3owYIQ+ HBUIFocntfAH8Lkst3B/ivyrMUgLlsOigNG+LjoY+tcGb275e1u+u/4Q6rad7zM4AdcY u56Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lITFePx0; 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=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zu24-20020a17090708d800b008b1237a8e25si2598213ejb.488.2023.02.14.00.44.57; Tue, 14 Feb 2023 00:45:20 -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=@linaro.org header.s=google header.b=lITFePx0; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232105AbjBNIjf (ORCPT <rfc822;henrikjoshmiranda3@gmail.com> + 99 others); Tue, 14 Feb 2023 03:39:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232060AbjBNIjW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Feb 2023 03:39:22 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A19BDE07B for <linux-kernel@vger.kernel.org>; Tue, 14 Feb 2023 00:39:00 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id m16-20020a05600c3b1000b003dc4050c94aso10929669wms.4 for <linux-kernel@vger.kernel.org>; Tue, 14 Feb 2023 00:39:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OdH7YLxEU7+x8TyQ0RXRl7vlHPOb2AyhEBJfEDpogjo=; b=lITFePx0X9STU/PRv8RDKM8fExAWDzy+jpqFd3F3EclEeeKm9oieIjWHpPqGQzwS22 5EqMTMMmWcQpnYnPydUELQ4hmXI6jQ9wIU7NIhNrE2bb/Ycvjz7xP0M/5mKcSOiu7bsZ 6TsOLG9rDvJWCE+8oAtVWbXOJzkqsZf9lgb3PVpo6EsLPiF+Fznp415kzttWXcQB9tai ahYWr+46hGgG5r48Qc9c2y6Vu1i4oosb0vCrvNqO2RnLrESe7zITRzK+VioTUZT/YyrW jWIMMlqks/G7q3WK+Hgrn7sUXrq5x2nUruqzS5Z5CdiTrfPNvvbrw17CCB6Hy9c7Lhbh gUeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OdH7YLxEU7+x8TyQ0RXRl7vlHPOb2AyhEBJfEDpogjo=; b=Kp968RUYLBfF8Xvl+cXcYohzy68YDk2DR/1E39veQC38n+YFjXBeP6JazX57PKH10h BUlQbnNRTaPKo7Njy0WbobR7mjMY6Dt/K1PYOY6gAm5KhnWDCZktyJzoMBViy9nhHeXI zMfovaZDWvVmLFg1QKpmtwiCYBgoofDL0MaUKSqtiV1XpOYTemb/NamIVuhnNi8oq1++ mOQgpgywoYPersesqpSdpftduG427ZO1qX3P1cs/GdjwdB+VnILzKsjDaeEsJdIggMN0 YeXc5C/6laghL9tnjqWATMHrHV0aQujvvbOpFzIJVXMb+JON11mt64LJaU6y/y5SGaZM DNLA== X-Gm-Message-State: AO0yUKURrka7tJFEdvLGQa3FTBfLEdDqA9c3muGML4F8hglwwceLUQlx LmvlvTc1SnX+PXUd7+psxEbAVQ== X-Received: by 2002:a05:600c:705:b0:3d9:fb89:4e3d with SMTP id i5-20020a05600c070500b003d9fb894e3dmr1952389wmn.28.1676363939287; Tue, 14 Feb 2023 00:38:59 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id p5-20020a1c5445000000b003dc492e4430sm16215536wmi.28.2023.02.14.00.38.58 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 14 Feb 2023 00:38:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: jpoimboe@kernel.org, linux-kernel@vger.kernel.org Cc: "H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, Thomas Gleixner <tglx@linutronix.de>, x86@kernel.org, =?utf-8?q?Philippe_Ma?= =?utf-8?q?thieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH v2 25/24] x86/cpu: Expose arch_cpu_idle_dead()'s prototype definition Date: Tue, 14 Feb 2023 09:38:57 +0100 Message-Id: <20230214083857.50163-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <cover.1676358308.git.jpoimboe@kernel.org> References: <cover.1676358308.git.jpoimboe@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757795393598765837?= X-GMAIL-MSGID: =?utf-8?q?1757795393598765837?= |
Series |
cpu,sched: Mark arch_cpu_idle_dead() __noreturn
|
|
Commit Message
Philippe Mathieu-Daudé
Feb. 14, 2023, 8:38 a.m. UTC
Include <linux/cpu.h> to make sure arch_cpu_idle_dead() matches its
prototype going forward.
Inspired-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Josh, feel free to include in your v3.
---
arch/x86/kernel/process.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 40d156a31676..7d27181a2518 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -5,6 +5,7 @@ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/smp.h> +#include <linux/cpu.h> #include <linux/prctl.h> #include <linux/slab.h> #include <linux/sched.h>