1 Description: Stop listing all 64bit architectures
2 Check __LP64__ instead of maintaining a list of all
4 Author: Adrian Bunk <bunk@debian.org>
6 Index: acpica-unix2-20220331/source/include/platform/aclinux.h
7 ===================================================================
8 --- acpica-unix2-20220331.orig/source/include/platform/aclinux.h
9 +++ acpica-unix2-20220331/source/include/platform/aclinux.h
11 #define ACPI_FLUSH_CPU_CACHE()
12 #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
14 -#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
15 - defined(__aarch64__) || defined(__PPC64__) ||\
16 - defined(__s390x__) ||\
17 - (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
18 +#if defined(__LP64__)
19 #define ACPI_MACHINE_WIDTH 64
20 #define COMPILER_DEPENDENT_INT64 long
21 #define COMPILER_DEPENDENT_UINT64 unsigned long