diff options
author | 2021-07-05 20:42:04 +0800 | |
---|---|---|
committer | 2021-07-16 19:09:20 +0200 | |
commit | b1121e2a182dc8f22e7cfa2d8374199505d27ab8 (patch) | |
tree | 489886e9f72f53fbc4d22b412ea23cee01a618bb /include/linux/acpi.h | |
parent | Linux 5.14-rc1 (diff) | |
download | linux-b1121e2a182dc8f22e7cfa2d8374199505d27ab8.tar.gz linux-b1121e2a182dc8f22e7cfa2d8374199505d27ab8.tar.bz2 linux-b1121e2a182dc8f22e7cfa2d8374199505d27ab8.zip |
ACPI: Add LoongArch support for ACPI_PROCESSOR/ACPI_NUMA
We are preparing to add new Loongson (based on LoongArch, not MIPS)
support. LoongArch use ACPI other than DT as its boot protocol, so
add its support for ACPI_PROCESSOR/ACPI_NUMA.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 72e4f7fd268c..3e4805619fe0 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -249,7 +249,7 @@ void acpi_table_print_madt_entry (struct acpi_subtable_header *madt); /* the following numa functions are architecture-dependent */ void acpi_numa_slit_init (struct acpi_table_slit *slit); -#if defined(CONFIG_X86) || defined(CONFIG_IA64) +#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(CONFIG_LOONGARCH) void acpi_numa_processor_affinity_init (struct acpi_srat_cpu_affinity *pa); #else static inline void |