1 Star 0 Fork 27

luofeng14/acpica-tools

forked from src-openEuler/acpica-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0001-add-loongarch64-support-for-acpica-tools.patch 981 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangwenlong01 提交于 2023-05-20 09:32 . fix build error for loongarch64
From 0e5a785ae7867e8191dc380cd63efeb6695ff254 Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <[email protected]>
Date: Thu, 25 May 2023 06:45:22 +0000
Subject: [PATCH] add loongarch64 support for acpica-tools
---
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 69eb962..52a3293 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(__riscv) && (defined(__LP64__) || defined(_LP64)))
+ (defined(__riscv) && (defined(__LP64__) || defined(_LP64))) || defined(__loongarch64)
#define ACPI_MACHINE_WIDTH 64
#define COMPILER_DEPENDENT_INT64 long
#define COMPILER_DEPENDENT_UINT64 unsigned long
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/luofeng14/acpica-tools.git
[email protected]:luofeng14/acpica-tools.git
luofeng14
acpica-tools
acpica-tools
master

搜索帮助