acpica-tools/9000-to-support-sw64-mips64el.patch
2025-02-27 17:15:50 +08:00

26 lines
912 B
Diff

From b57d5419e8eeef15a7b5192f64c89b9989b36d6a Mon Sep 17 00:00:00 2001
From: kkz <zhaoshuang@uniontech.com>
Date: Tue, 7 Jan 2025 15:11:07 +0800
Subject: [PATCH] to support sw64 mips64el
---
source/include/platform/aclinux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/include/platform/aclinux.h b/source/include/platform/aclinux.h
index 20680d0..ec1889e 100644
--- a/source/include/platform/aclinux.h
+++ b/source/include/platform/aclinux.h
@@ -217,7 +217,7 @@
#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
defined(__aarch64__) || defined(__PPC64__) ||\
- defined(__s390x__) ||\
+ defined(__s390x__) || defined(__sw_64__) || defined(__mips__) || \
(defined(__riscv) && (defined(__LP64__) || defined(_LP64))) || defined(__loongarch64)
#define ACPI_MACHINE_WIDTH 64
#define COMPILER_DEPENDENT_INT64 long
--
2.43.0