[PATCH 1/8] ACPI: LoongArch: Add acpi_arch_init() support
Bibo Mao <[email protected]> Wed, 17 Jun 2026 15:48:22 +0800
| Newsgroups | dev.linux.lists.acpica-devel,dev.linux.lists.loongarch,org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Add acpi_arch_init() API on LoongArch, now it is empty. In the future, IOVT table parsing will be added. Signed-off-by: Bibo Mao <[email protected]> --- drivers/acpi/Makefile | 2 +- drivers/acpi/loongarch/Makefile | 2 ++ drivers/acpi/loongarch/init.c | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 drivers/acpi/loongarch/Makefile create mode 100644 drivers/acpi/loongarch/init.c diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index d1b0affb844f..91584a3c1e01 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -131,6 +131,6 @@ obj-y += dptf/ obj-$(CONFIG_ARM64) += arm64/ obj-$(CONFIG_ACPI_VIOT) += viot.o - +obj-$(CONFIG_LOONGARCH) += loongarch/ obj-$(CONFIG_RISCV) += riscv/ obj-$(CONFIG_X86) += x86/ diff --git a/drivers/acpi/loongarch/Makefile b/drivers/acpi/loongarch/Makefile new file mode 100644 index 000000000000..d3764139dfaf --- /dev/null +++ b/drivers/acpi/loongarch/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-y += init.o diff --git a/drivers/acpi/loongarch/init.c b/drivers/acpi/loongarch/init.c new file mode 100644 index 000000000000..7008e50b3e9d --- /dev/null +++ b/drivers/acpi/loongarch/init.c @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include <linux/acpi.h> + +void __init acpi_arch_init(void) +{ +} -- 2.39.3