From patchwork Thu Aug 8 13:15:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 13757465 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21EAEC52D6F for ; Thu, 8 Aug 2024 13:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xOH7Ng6pO7ibAXdHOF5AN9ah2qqdlht0H80u5YAgt9I=; b=3RXQBd4xq5NOBH029ph3DbDOSe nAVuUKoSo/3C/9uUkm6Z0BA2AhUrfTpn1/uoTIiM9cUsNl4l/9AfrwxEmhlDF6WglJKBjt9Whouod cPzYFRDPmxO5crfvMfQ21C+U9kgfZ1cCWhGyHthAzNMTxmuF3r8kwpv3mAAocXcEjpenTYpQkljaS 8Pv3FoWFL/p9tCiRWfKHpEVJeHOZZdJ2GOKjY/nXhExqsaOD4WtM8KXc087NiILQBofFCSPbujKLk Z+4rSyV7Ktz/tk+1DJNjWcM8K0bMFkI+ltKPXjKoW6pwxlcbRrVptYXo6YVKndP2jHA2diTfijYkj 96OBE+tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc30i-00000008LRk-0Qof; Thu, 08 Aug 2024 13:16:56 +0000 Received: from szxga08-in.huawei.com ([45.249.212.255]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sc2zc-00000008LFn-0PIs for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 13:15:49 +0000 Received: from mail.maildlp.com (unknown [172.19.163.48]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4WfnbH1twyz1T6bJ; Thu, 8 Aug 2024 21:15:23 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id 3E22F18005F; Thu, 8 Aug 2024 21:15:45 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemf500002.china.huawei.com (7.185.36.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 8 Aug 2024 21:15:44 +0800 From: Hanjun Guo To: Sudeep Holla , Lorenzo Pieralisi , "Rafael J . Wysocki" CC: Will Deacon , Catalin Marinas , , , Hanjun Guo Subject: [PATCH 1/3] ARM64: ACPI: Remove the leftover acpi_init_cpus() Date: Thu, 8 Aug 2024 21:15:20 +0800 Message-ID: <20240808131522.1032431-2-guohanjun@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240808131522.1032431-1-guohanjun@huawei.com> References: <20240808131522.1032431-1-guohanjun@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemf500002.china.huawei.com (7.185.36.57) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_061548_313098_395EBF0D X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In commit 0f0783365cbb ("ARM64: kernel: unify ACPI and DT cpus initialization"), function acpi_init_cpus() was removed but the declaration was left in the asm/acpi.h, remove it. Signed-off-by: Hanjun Guo --- arch/arm64/include/asm/acpi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h index a407f9cd549e..e872d28edb04 100644 --- a/arch/arm64/include/asm/acpi.h +++ b/arch/arm64/include/asm/acpi.h @@ -132,10 +132,8 @@ static inline int get_cpu_for_acpi_id(u32 uid) } static inline void arch_fix_phys_package_id(int num, u32 slot) { } -void __init acpi_init_cpus(void); int apei_claim_sea(struct pt_regs *regs); #else -static inline void acpi_init_cpus(void) { } static inline int apei_claim_sea(struct pt_regs *regs) { return -ENOENT; } #endif /* CONFIG_ACPI */