From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPKDt-0006oH-BG for qemu-devel@nongnu.org; Tue, 01 May 2012 17:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPKDr-0005cN-FH for qemu-devel@nongnu.org; Tue, 01 May 2012 17:03:00 -0400 Message-ID: <4FA04F7F.4060106@suse.de> Date: Tue, 01 May 2012 23:02:55 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1335901857-29799-1-git-send-email-agraf@suse.de> <1335901857-29799-4-git-send-email-agraf@suse.de> <4FA04CD7.1030900@weilnetz.de> In-Reply-To: <4FA04CD7.1030900@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/8] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , Alexander Graf , qemu-devel Developers , blauwirbel@gmail.com, qemu-ppc@nongnu.org Am 01.05.2012 22:51, schrieb Stefan Weil: > Am 01.05.2012 21:50, schrieb Alexander Graf: >> On my PPC host, HOST_LONG_SIZE is not defined even after >> running configure. Use the normal C way of determining the >> long size instead. >> >> Signed-off-by: Alexander Graf >> --- >> thunk.h | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/thunk.h b/thunk.h >> index 5be8f91..87025c3 100644 >> --- a/thunk.h >> +++ b/thunk.h >> @@ -113,7 +113,7 @@ static inline int thunk_type_size(const argtype >> *type_ptr, int is_host) >> defined(HOST_PARISC) || defined(HOST_SPARC64) >> return 4; >> #elif defined(HOST_PPC) >> - return HOST_LONG_SIZE; >> + return sizeof(void *); >> #else >> return 2; >> #endif >=20 >=20 > Malc reverted his change and applied Alexander's previous patch, > so this one is no longer needed (and would conflict with > latest git master). Since malc does seem to have committed Alex' exact patch, I would hope that a PULL applies fine now, just like a rebase of a local branch onto committed patch versions from master... Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg