Blame SOURCES/simple-64bit.patch

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