Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-26 Thread Riku Voipio
On 26 April 2012 14:53, Alexander Graf wrote: > Ok, changed to sizeof(void*). Since the patch is so trivial, I won't repost > it, but instead just send it out with my next pull request. That's fine from my side. Riku

Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-26 Thread Alexander Graf
On 19.04.2012, at 21:25, Stefan Weil wrote: > Am 19.04.2012 16:47, schrieb Peter Maydell: >> On 19 April 2012 15:23, Alexander Graf wrote: >>> 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. >>> #elif

Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-19 Thread Stefan Weil
Am 19.04.2012 16:47, schrieb Peter Maydell: On 19 April 2012 15:23, Alexander Graf wrote: 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. #elif defined(HOST_PPC) -return HOST_LONG_SIZE; +

Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-19 Thread Peter Maydell
On 19 April 2012 16:12, Alexander Graf wrote: > On 04/19/2012 04:47 PM, Peter Maydell wrote: >> HOST_LONG_SIZE was removed by Stefan in commit 9c6ecf; >> it looks like this PPC-only use was accidentally omitted. >> For consistency with that commit and how we handle TYPE_LONG >> in this function, i

Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-19 Thread Alexander Graf
On 04/19/2012 04:47 PM, Peter Maydell wrote: On 19 April 2012 15:23, Alexander Graf wrote: 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. #elif defined(HOST_PPC) -return HOST_LONG_SIZE; +

Re: [Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-19 Thread Peter Maydell
On 19 April 2012 15:23, Alexander Graf wrote: > 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. >  #elif defined(HOST_PPC) > -            return HOST_LONG_SIZE; > +            return sizeof(long); >  #else

[Qemu-devel] [PATCH] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts

2012-04-19 Thread 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..27bb22a 1006