80dc240519
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/acpica-tools.git#defe2b64332fc44bf9915c8f57d2614c529cdb43
22 lines
921 B
Diff
22 lines
921 B
Diff
Description: Stop listing all 64bit architectures
|
|
Check __LP64__ instead of maintaining a list of all
|
|
64bit architectures.
|
|
Author: Adrian Bunk <bunk@debian.org>
|
|
|
|
Index: acpica-unix2-20200925/source/include/platform/aclinux.h
|
|
===================================================================
|
|
--- acpica-unix2-20200925.orig/source/include/platform/aclinux.h
|
|
+++ acpica-unix2-20200925/source/include/platform/aclinux.h
|
|
@@ -215,10 +215,7 @@
|
|
#define ACPI_FLUSH_CPU_CACHE()
|
|
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
|
|
|
|
-#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
|
|
- defined(__aarch64__) || defined(__PPC64__) ||\
|
|
- defined(__s390x__) ||\
|
|
- (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
|
|
+#if defined(__LP64__)
|
|
#define ACPI_MACHINE_WIDTH 64
|
|
#define COMPILER_DEPENDENT_INT64 long
|
|
#define COMPILER_DEPENDENT_UINT64 unsigned long
|