2017-11-21 01:33:29 +00:00
|
|
|
Description: Stop listing all 64bit architectures
|
|
|
|
Check __LP64__ instead of maintaining a list of all
|
|
|
|
64bit architectures.
|
|
|
|
Author: Adrian Bunk <bunk@debian.org>
|
|
|
|
|
2020-10-19 18:24:09 +00:00
|
|
|
Index: acpica-unix2-20200925/source/include/platform/aclinux.h
|
2018-03-06 22:25:45 +00:00
|
|
|
===================================================================
|
2020-10-19 18:24:09 +00:00
|
|
|
--- acpica-unix2-20200925.orig/source/include/platform/aclinux.h
|
|
|
|
+++ acpica-unix2-20200925/source/include/platform/aclinux.h
|
|
|
|
@@ -215,10 +215,7 @@
|
2017-11-21 01:33:29 +00:00
|
|
|
#define ACPI_FLUSH_CPU_CACHE()
|
|
|
|
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
|
|
|
|
|
2018-01-08 20:33:35 +00:00
|
|
|
-#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
|
2017-11-21 01:33:29 +00:00
|
|
|
- defined(__aarch64__) || defined(__PPC64__) ||\
|
2020-10-19 18:24:09 +00:00
|
|
|
- defined(__s390x__) ||\
|
|
|
|
- (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
|
2017-11-21 01:33:29 +00:00
|
|
|
+#if defined(__LP64__)
|
|
|
|
#define ACPI_MACHINE_WIDTH 64
|
|
|
|
#define COMPILER_DEPENDENT_INT64 long
|
|
|
|
#define COMPILER_DEPENDENT_UINT64 unsigned long
|