!33 [sync] PR-32: add support for loongarch64
From: @openeuler-sync-bot Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
bcbf7bd3a6
26
0006-Add-loongarch64-support.patch
Normal file
26
0006-Add-loongarch64-support.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From ec1ffd36dc26b64284e888d0a8484cde599ca7c3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yangchenguang <yangchenguang@kylinsec.com.cn>
|
||||||
|
Date: Tue, 9 May 2023 14:03:28 +0800
|
||||||
|
Subject: [PATCH] Add loongarch64 support
|
||||||
|
|
||||||
|
Signed-off-by: yangchenguang <yangchenguang@kylinsec.com.cn>
|
||||||
|
---
|
||||||
|
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 58e073b..042a047 100644
|
||||||
|
--- a/source/include/platform/aclinux.h
|
||||||
|
+++ b/source/include/platform/aclinux.h
|
||||||
|
@@ -215,7 +215,7 @@
|
||||||
|
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
|
||||||
|
|
||||||
|
#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
|
||||||
|
- defined(__aarch64__) || defined(__sw_64__) || defined(__PPC64__) ||\
|
||||||
|
+ defined(__aarch64__) || defined(__sw_64__) || defined(__loongarch__) || defined(__PPC64__) ||\
|
||||||
|
defined(__s390x__) ||\
|
||||||
|
(defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
|
||||||
|
#define ACPI_MACHINE_WIDTH 64
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: acpica-tools
|
Name: acpica-tools
|
||||||
Version: 20210604
|
Version: 20210604
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Tools for OS-independent reference implementation of ACPI
|
Summary: Tools for OS-independent reference implementation of ACPI
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -15,6 +15,7 @@ Patch0002: 0002-cve-2017-13694.patch
|
|||||||
Patch0003: 0003-cve-2017-13695.patch
|
Patch0003: 0003-cve-2017-13695.patch
|
||||||
Patch0004: 0004-enable-harden.patch
|
Patch0004: 0004-enable-harden.patch
|
||||||
Patch0005: 0005-acpica-unix2-20210604-sw.patch
|
Patch0005: 0005-acpica-unix2-20210604-sw.patch
|
||||||
|
Patch0006: 0006-Add-loongarch64-support.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
|
||||||
@ -86,6 +87,9 @@ fi
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 25 2023 panchenbo <panchenbo@kylinsec.com.cn> - 20210604-5
|
||||||
|
- add support for loongarch64
|
||||||
|
|
||||||
* Mon Nov 28 2022 Weifeng Su <suweifeng1@huawei.com> 20210604-4
|
* Mon Nov 28 2022 Weifeng Su <suweifeng1@huawei.com> 20210604-4
|
||||||
- rename patches
|
- rename patches
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user