diff mbox series

[1/3] ARM64: ACPI: Remove the leftover acpi_init_cpus()

Message ID 20240808131522.1032431-2-guohanjun@huawei.com (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series cleanups for ARM64 ACPI | expand

Commit Message

Hanjun Guo Aug. 8, 2024, 1:15 p.m. UTC
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 <guohanjun@huawei.com>
---
 arch/arm64/include/asm/acpi.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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 */