Linux-specific header: Add support for s390x compilation
Colin King
PATCH 1/1 Linux-specific header: Add support for s390x compilation
From: Colin Ian King <colin.king(a)canonical.com>
While porting ACPCIA integrated into fwts I discovered that I get build issues on s390x because ACPCIA does not know it is a 64 bit architecture. Update aclinux.h to support this architecture.
Colin Ian King (1):
Linux-specific header: Add support for s390x compilation.
source/include/platform/aclinux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.10.2
Colin King
PATCH 1/1 Linux-specific header: Add support for s390x compilation.
From: Colin Ian King <colin.king(a)canonical.com>
Adds s390x as a 64-bit architecture.
Signed-off-by Colin Ian King <colin.king(a)canonical.com>
--- source/include/platform/aclinux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
source/include/platform/aclinux.h +2 -1
@@ -265,7 +265,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
Signature · 1 line
2.10.2