diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-11-19 01:38:25 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-01-15 00:08:54 +0100 |
commit | eb75541f8b4535cf22e22cd2e60734866868e818 (patch) | |
tree | b136b817c0fc7c45055ca67940a2f569035f6ed8 /arch/arm64/kernel/acpi_numa.c | |
parent | riscv: Add Canaan Kendryte K210 reset controller (diff) | |
download | linux-eb75541f8b4535cf22e22cd2e60734866868e818.tar.xz linux-eb75541f8b4535cf22e22cd2e60734866868e818.zip |
arm64, numa: Change the numa init functions name to be generic
This is a preparatory patch for unifying numa implementation between
ARM64 & RISC-V. As the numa implementation will be moved to generic
code, rename the arm64 related functions to a generic one.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/arm64/kernel/acpi_numa.c')
-rw-r--r-- | arch/arm64/kernel/acpi_numa.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm64/kernel/acpi_numa.c b/arch/arm64/kernel/acpi_numa.c index 7ff800045434..fdfecf0991ce 100644 --- a/arch/arm64/kernel/acpi_numa.c +++ b/arch/arm64/kernel/acpi_numa.c @@ -118,15 +118,3 @@ void __init acpi_numa_gicc_affinity_init(struct acpi_srat_gicc_affinity *pa) node_set(node, numa_nodes_parsed); } -int __init arm64_acpi_numa_init(void) -{ - int ret; - - ret = acpi_numa_init(); - if (ret) { - pr_info("Failed to initialise from firmware\n"); - return ret; - } - - return srat_disabled() ? -EINVAL : 0; -} |