acpica-tools/s390x-ptrs.patch
Al Stone 5c5a616a54 Update to 20161117 source from upstream.
Signed-off-by: Al Stone <ahs3@redhat.com>
2017-01-09 17:09:49 -07:00

15 lines
656 B
Diff

Index: acpica-unix2-20161117/source/include/platform/aclinux.h
===================================================================
--- acpica-unix2-20161117.orig/source/include/platform/aclinux.h
+++ acpica-unix2-20161117/source/include/platform/aclinux.h
@@ -194,7 +194,8 @@
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
#if defined(__ia64__) || defined(__x86_64__) ||\
- defined(__aarch64__) || defined(__PPC64__)
+ defined(__aarch64__) || defined(__PPC64__) ||\
+ defined(__s390x__)
#define ACPI_MACHINE_WIDTH 64
#define COMPILER_DEPENDENT_INT64 long
#define COMPILER_DEPENDENT_UINT64 unsigned long