* [Qemu-devel] [PATCH] Fix stat64 on PPC
@ 2008-03-17 17:11 Gary Thomas
0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2008-03-17 17:11 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
Somehow, post 0.9.1, the stat64 structure on PPC got broken.
The attached patch fixes it.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1230 bytes --]
Index: linux-user/syscall_defs.h
===================================================================
--- linux-user/syscall_defs.h (revision 4115)
+++ linux-user/syscall_defs.h (revision 4116)
@@ -1131,18 +1131,19 @@
unsigned int st_uid;
unsigned int st_gid;
unsigned long long st_rdev;
- unsigned short pad0;
- long long st_size;
- int st_blksize;
- long long st_blocks; /* Number 512-byte blocks allocated. */
- int target_st_atime;
- unsigned int target_st_atime_nsec;
- int target_st_mtime;
- unsigned int target_st_mtime_nsec;
- int target_st_ctime;
- unsigned int target_st_ctime_nsec;
- unsigned int __unused4;
- unsigned int __unused5;
+ long long pad0;
+ long long st_size;
+ target_ulong st_blksize;
+ target_ulong pad1;
+ long long st_blocks; /* Number 512-byte blocks allocated. */
+ target_ulong target_st_atime;
+ target_ulong target_st_atime_nsec;
+ target_ulong target_st_mtime;
+ target_ulong target_st_mtime_nsec;
+ target_ulong target_st_ctime;
+ target_ulong target_st_ctime_nsec;
+ target_ulong __unused4;
+ target_ulong __unused5;
};
#elif defined(TARGET_M68K)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-17 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 17:11 [Qemu-devel] [PATCH] Fix stat64 on PPC Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.