From patchwork Thu Aug 8 13:15:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 13757461 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5708418C34C for ; Thu, 8 Aug 2024 13:15:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723122950; cv=none; b=C5EQGRjxg+XgP/R/HyY9ANN8PsZS3XJ7GdB/DLA4QMupRcJh4usZpwHnFkTtGZsVYjoItLjQLUJlybbtDDuggOKzDlOLDXyL+BYXSum4GAPgYLE6AvL6LITgHIq6g/CCOtYRHq4Jn17mO8gpL4qeQFGC/lcXB5zk/mDzAiEweLs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723122950; c=relaxed/simple; bh=sjJ0eZhlAhrVM4dqw8JpuA7hLDl1o1M5bxNmRl1f2Kc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mpy2HjJqrArAVXgh41lmjD8Pcvaq4HmAEddLkMJvv+2lhgIqEpQFt8ftfh2qrNzSaibERlt8B+6ZL+JCHNgVk6ZlNWuNw4gXGi+eBytuUtN79VwYliU91yky4K4K1nqHpOvTQxZ6B/780COm4z2wETTK67TuYL6uJG5ZE1Efh74= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WfnbY1lJWzcd4t; Thu, 8 Aug 2024 21:15:37 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id B186F140488; 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:45 +0800 From: Hanjun Guo To: Sudeep Holla , Lorenzo Pieralisi , "Rafael J . Wysocki" CC: Will Deacon , Catalin Marinas , , , Hanjun Guo Subject: [PATCH 2/3] ARM64: ACPI: Remove the leftover arm64_acpi_numa_init() Date: Thu, 8 Aug 2024 21:15:21 +0800 Message-ID: <20240808131522.1032431-3-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> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemf500002.china.huawei.com (7.185.36.57) In commit eb75541f8b45 ("arm64, numa: Change the numa init functions name to be generic"), arm64_acpi_numa_init() was renamed to arch_acpi_numa_init() and be static, so the leftover arm64_acpi_numa_init() in head file should be removed. 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 e872d28edb04..5e25110ad1b7 100644 --- a/arch/arm64/include/asm/acpi.h +++ b/arch/arm64/include/asm/acpi.h @@ -175,11 +175,9 @@ static inline pgprot_t arch_apei_get_mem_attribute(phys_addr_t addr) #endif /* CONFIG_ACPI_APEI */ #ifdef CONFIG_ACPI_NUMA -int arm64_acpi_numa_init(void); int acpi_numa_get_nid(unsigned int cpu); void acpi_map_cpus_to_nodes(void); #else -static inline int arm64_acpi_numa_init(void) { return -ENOSYS; } static inline int acpi_numa_get_nid(unsigned int cpu) { return NUMA_NO_NODE; } static inline void acpi_map_cpus_to_nodes(void) { } #endif /* CONFIG_ACPI_NUMA */