Blame SOURCES/simple-64bit.patch

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