Blame SOURCES/simple-64bit.patch

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