From patchwork Wed Mar 12 16:31:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 329546 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 6E0002C0089 for ; Thu, 13 Mar 2014 03:31:39 +1100 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WNm49-0007PY-HS; Wed, 12 Mar 2014 16:31:37 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1WNm42-0007P9-Io for fwts-devel@lists.ubuntu.com; Wed, 12 Mar 2014 16:31:30 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginm.net ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1WNm42-00026q-GN for fwts-devel@lists.ubuntu.com; Wed, 12 Mar 2014 16:31:30 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] acpica: ppc64el needs to be built as a 64 bit architecture Date: Wed, 12 Mar 2014 16:31:30 +0000 Message-Id: <1394641890-16330-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.9.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com From: Ubuntu ppc64el was segfaulting because the build was defaulting to a 32 bit build. This is a temporary fix for the current release of fwts, I hope to get this fixed upstream in ACPICA some time soon. With this fix the syntaxcheck and disassemble regression tests were failing because iasl was segfaulting. Signed-off-by: Ubuntu --- src/acpica/source/include/platform/aclinux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h index b8da18b..e85cc79 100644 --- a/src/acpica/source/include/platform/aclinux.h +++ b/src/acpica/source/include/platform/aclinux.h @@ -161,7 +161,7 @@ #define ACPI_FLUSH_CPU_CACHE() #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread)) -#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) +#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) || defined(__PPC64__) #define ACPI_MACHINE_WIDTH 64 #define COMPILER_DEPENDENT_INT64 long #define COMPILER_DEPENDENT_UINT64 unsigned long