lkml.org 
[lkml]   [2016]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/18] ACPICA: Linux-specific header: Add support for s390x compilation.
    Date
    From: Colin Ian King <colin.king@canonical.com>

    ACPICA commit ecac9504e32d3b501c8cb021afb253b4a83fc82f

    Adds s390x as a 64-bit architecture.

    Link: https://github.com/acpica/acpica/commit/ecac9504
    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Lv Zheng <lv.zheng@intel.com>
    ---
    include/acpi/platform/aclinux.h | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
    index af588e0..252359e 100644
    --- a/include/acpi/platform/aclinux.h
    +++ b/include/acpi/platform/aclinux.h
    @@ -201,7 +201,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
    --
    2.7.4
    \
     
     \ /
      Last update: 2016-12-28 08:32    [W:3.627 / U:0.848 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site