From 2fee0692365679b5c27e7eceecf3a0c3be4d2b51 Mon Sep 17 00:00:00 2001 From: zhangtianyang Date: Mon, 19 Sep 2022 20:07:07 +0800 Subject: [PATCH] ACPI: Support ACPI_MACHINE_WIDTH for 64 LoongArch inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I6BWFP -------------------------------- Signed-off-by: zhangtianyang Change-Id: Ie79e0c0a3ebcc1c9016b2be1e434ad3d57bf334f (cherry picked from commit d1c564ec2caf3397821e747c783bbc3600fcc782) --- include/acpi/platform/aclinux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 72f52a1342a0..1a60441ccc16 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h @@ -194,7 +194,7 @@ #if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\ defined(__aarch64__) || defined(__PPC64__) ||\ - defined(__s390x__) ||\ + defined(__s390x__) || defined(__loongarch__)\ (defined(__riscv) && (defined(__LP64__) || defined(_LP64))) #define ACPI_MACHINE_WIDTH 64 #define COMPILER_DEPENDENT_INT64 long -- GitLab