]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: RISCV: Make acpi_numa_get_nid() to be static
authorHanjun Guo <guohanjun@huawei.com>
Sun, 11 Aug 2024 03:18:04 +0000 (11:18 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 17 Sep 2024 19:02:48 +0000 (12:02 -0700)
commit21d98d658f9e5967dc30c321bc258b50740c6665
tree04e797d8d9592ef99bd4429f7492770a88393c1a
parent048e2906d4caf57018e92f49c9a0f998ebb83f9b
ACPI: RISCV: Make acpi_numa_get_nid() to be static

acpi_numa_get_nid() is only called in acpi_numa.c for riscv,
no need to add it in head file, so make it static and remove
related functions in the asm/acpi.h.

Spotted by doing some cleanup for arm64 ACPI.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Haibo Xu <haibo1.xu@intel.com>
Link: https://lore.kernel.org/r/20240811031804.3347298-1-guohanjun@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/acpi.h
arch/riscv/kernel/acpi_numa.c