qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user: Fix wrong use of stat instead of stat64 for sparc64
@ 2013-09-06 16:46 Stefan Weil
  2013-09-06 17:16 ` Peter Maydell
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Weil @ 2013-09-06 16:46 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, Stefan Weil, Riku Voipio, qemu-stable,
	Richard Henderson

This test case is fixed now:
sparc64-linux-user/qemu-sparc64 /usr/gnemul/qemu-sparc64/busybox ls -l block.c

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 linux-user/syscall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ecead51..e498a92 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4764,7 +4764,7 @@ static inline abi_long host_to_target_stat64(void *cpu_env,
     } else
 #endif
     {
-#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA)
+#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA) && !defined(TARGET_SPARC64)
         struct target_stat *target_st;
 #else
         struct target_stat64 *target_st;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-09-24  9:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-06 16:46 [Qemu-devel] [PATCH] linux-user: Fix wrong use of stat instead of stat64 for sparc64 Stefan Weil
2013-09-06 17:16 ` Peter Maydell
2013-09-06 17:24   ` Stefan Weil
2013-09-19 17:31     ` Stefan Weil
2013-09-23 11:57       ` Riku Voipio
2013-09-23 12:05         ` Peter Maydell
2013-09-24  9:13           ` Riku Voipio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).