From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPK2u-0001vn-8V for qemu-devel@nongnu.org; Tue, 01 May 2012 16:51:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPK2s-0001QF-J0 for qemu-devel@nongnu.org; Tue, 01 May 2012 16:51:39 -0400 Message-ID: <4FA04CD7.1030900@weilnetz.de> Date: Tue, 01 May 2012 22:51:35 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1335901857-29799-1-git-send-email-agraf@suse.de> <1335901857-29799-4-git-send-email-agraf@suse.de> In-Reply-To: <1335901857-29799-4-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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: Alexander Graf Cc: blauwirbel@gmail.com, Anthony Liguori , qemu-ppc@nongnu.org, qemu-devel Developers 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 Malc reverted his change and applied Alexander's previous patch, so this one is no longer needed (and would conflict with latest git master). Regards, Stefan W.