Blame SOURCES/simple-64bit.patch

214d7a
Description: Stop listing all 64bit architectures
214d7a
 Check __LP64__ instead of maintaining a list of all
214d7a
 64bit architectures.
214d7a
Author: Adrian Bunk <bunk@debian.org>
214d7a
214d7a
Index: acpica-unix2-20200925/source/include/platform/aclinux.h
214d7a
===================================================================
214d7a
--- acpica-unix2-20200925.orig/source/include/platform/aclinux.h
214d7a
+++ acpica-unix2-20200925/source/include/platform/aclinux.h
214d7a
@@ -215,10 +215,7 @@
214d7a
 #define ACPI_FLUSH_CPU_CACHE()
214d7a
 #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
214d7a
 
214d7a
-#if defined(__ia64__)    || (defined(__x86_64__) && !defined(__ILP32__)) ||\
214d7a
-    defined(__aarch64__) || defined(__PPC64__) ||\
214d7a
-    defined(__s390x__) ||\
214d7a
-    (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
214d7a
+#if defined(__LP64__)
214d7a
 #define ACPI_MACHINE_WIDTH          64
214d7a
 #define COMPILER_DEPENDENT_INT64    long
214d7a
 #define COMPILER_DEPENDENT_UINT64   unsigned long