From patchwork Sun Aug 11 04:23:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 13759683 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 E7B8BC3DA4A for ; Sun, 11 Aug 2024 04:25:59 +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=yrbX3YmGQzNIWUqIJNurBFw6EH KsOvAm6jmWzbIXx38T4Sfa07JxSzPKMBt4s5Q5LoK6UrAHyN6OIrUNcjIpCu3Z/omlxefsf1SxmB2 EmOZysjoS1l9i3lgeoyV23PsXAIzUd1zkqZBpcxAryjjs9MOxgsri83ODip4Av+0Rzy0xwhQ78BBE Igb2Fesw8AQBGaF43S5Q77oZ1lhIb3BmrxwlRMzkVBHJwCyHmCohhs4c4Uy3D1bWqRrhm7ftxLwMR krnkckfUUeKLpz2u8vUP8O9csGC6Ngv8i551Ou/QxC8AIRWbrzccxaCSUJIzB+IAfCy1VtGBn2ZV4 wgH5pnRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sd09P-0000000F0pW-1rrR; Sun, 11 Aug 2024 04:25:51 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sd07B-0000000F0Yq-1qSI for linux-arm-kernel@lists.infradead.org; Sun, 11 Aug 2024 04:23:37 +0000 Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WhPdY2z5CzyP5F; Sun, 11 Aug 2024 12:22:57 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id 27733180101; Sun, 11 Aug 2024 12:23:23 +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; Sun, 11 Aug 2024 12:23:22 +0800 From: Hanjun Guo To: Sudeep Holla , Lorenzo Pieralisi , "Rafael J . Wysocki" CC: Will Deacon , Catalin Marinas , , , Hanjun Guo Subject: [PATCH v2 1/4] ARM64: ACPI: Remove the leftover acpi_init_cpus() Date: Sun, 11 Aug 2024 12:23:00 +0800 Message-ID: <20240811042303.3498761-2-guohanjun@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240811042303.3498761-1-guohanjun@huawei.com> References: <20240811042303.3498761-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-20240810_212333_729049_D7D3E770 X-CRM114-Status: GOOD ( 10.25 ) 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 */