to support sw64 mips64 arch
(cherry picked from commit 0bab38d6290083946867d294dc1f2e3d93602dcb)
This commit is contained in:
parent
e4dcd1db6f
commit
b8fe1c8a8b
25
9000-to-support-sw64-mips64el.patch
Normal file
25
9000-to-support-sw64-mips64el.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: acpica-tools
|
Name: acpica-tools
|
||||||
Version: 20210604
|
Version: 20210604
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Tools for OS-independent reference implementation of ACPI
|
Summary: Tools for OS-independent reference implementation of ACPI
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -17,6 +17,7 @@ Patch0004: openEuler-harden.patch
|
|||||||
Patch0005: 0001-add-loongarch64-support-for-acpica-tools.patch
|
Patch0005: 0001-add-loongarch64-support-for-acpica-tools.patch
|
||||||
Patch0006: 0001-Fix-GCC-12-dangling-pointer-warning.patch
|
Patch0006: 0001-Fix-GCC-12-dangling-pointer-warning.patch
|
||||||
Patch0007: 0001-fix-building-error-caused-by-variable-CurrentSp.patch
|
Patch0007: 0001-fix-building-error-caused-by-variable-CurrentSp.patch
|
||||||
|
Patch0008: 9000-to-support-sw64-mips64el.patch
|
||||||
|
|
||||||
BuildRequires: bison patchutils flex gcc
|
BuildRequires: bison patchutils flex gcc
|
||||||
Provides: acpixtract >= 20120913-7 iasl = %{version}-%{release} acpidump >= 20100513-5
|
Provides: acpixtract >= 20120913-7 iasl = %{version}-%{release} acpidump >= 20100513-5
|
||||||
@ -92,6 +93,9 @@ fi
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 27 2025 zhaoshuang <zhaoshuang@uniontech.com> - 20210604-7
|
||||||
|
- arch: to support sw64 mips64 arch
|
||||||
|
|
||||||
* Thu Mar 7 2024 guojunding <guojunding@kylinos.cn> - 20210604-6
|
* Thu Mar 7 2024 guojunding <guojunding@kylinos.cn> - 20210604-6
|
||||||
- fix building error caused by variable 'CurrentSp'
|
- fix building error caused by variable 'CurrentSp'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user