[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 3/8] linux-user: Fix undefined HOST_LONG_SIZE on PPC h
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 3/8] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts |
Date: |
Tue, 1 May 2012 10:58:55 +0200 |
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 <address@hidden>
---
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
--
1.6.0.2
[Qemu-ppc] [PATCH 1/8] booke:Use MMU API for creating initial mapping for secondary cpus, Alexander Graf, 2012/05/01
[Qemu-ppc] [PATCH 2/8] PPC: Fix up e500 cache size setting, Alexander Graf, 2012/05/01
[Qemu-ppc] [PATCH 8/8] target-ppc: Some support for dumping TLB_EMB TLBs, Alexander Graf, 2012/05/01
[Qemu-ppc] [PATCH 7/8] ppce500_spin: Replace assert by hw_error (fixes compiler warning), Alexander Graf, 2012/05/01
[Qemu-ppc] [PATCH 5/8] pseries: Use the same interrupt swizzling for host bridges as p2p bridges, Alexander Graf, 2012/05/01
[Qemu-ppc] [PATCH 4/8] pseries: Implement automatic PAPR VIO address allocation, Alexander Graf, 2012/05/01