]> git.pld-linux.org Git - packages/acpica.git/blob - acpica-simple-64bit.patch
- updated tests
[packages/acpica.git] / acpica-simple-64bit.patch
1 Description: Stop listing all 64bit architectures
2  Check __LP64__ instead of maintaining a list of all
3  64bit architectures.
4 Author: Adrian Bunk <bunk@debian.org>
5
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
10 @@ -220,10 +220,7 @@
11  #define ACPI_FLUSH_CPU_CACHE()
12  #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
13  
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
This page took 0.082524 seconds and 3 git commands to generate.