* [Qemu-devel] [6483] target-ppc: Fix struct target_stat64 for 32-bit host
@ 2009-01-30 19:48 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-01-30 19:48 UTC (permalink / raw)
To: qemu-devel
Revision: 6483
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6483
Author: aurel32
Date: 2009-01-30 19:48:32 +0000 (Fri, 30 Jan 2009)
Log Message:
-----------
target-ppc: Fix struct target_stat64 for 32-bit host
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Modified Paths:
--------------
trunk/linux-user/syscall_defs.h
Modified: trunk/linux-user/syscall_defs.h
===================================================================
--- trunk/linux-user/syscall_defs.h 2009-01-30 19:48:24 UTC (rev 6482)
+++ trunk/linux-user/syscall_defs.h 2009-01-30 19:48:32 UTC (rev 6483)
@@ -1141,7 +1141,7 @@
#endif
};
-struct target_stat64 {
+struct __attribute__((__packed__)) target_stat64 {
unsigned long long st_dev;
unsigned long long st_ino;
unsigned int st_mode;
@@ -1149,10 +1149,11 @@
unsigned int st_uid;
unsigned int st_gid;
unsigned long long st_rdev;
- unsigned short pad0;
+ unsigned long long __pad0;
long long st_size;
int st_blksize;
long long st_blocks; /* Number 512-byte blocks allocated. */
+ unsigned int __pad1;
int target_st_atime;
unsigned int target_st_atime_nsec;
int target_st_mtime;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-30 19:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 19:48 [Qemu-devel] [6483] target-ppc: Fix struct target_stat64 for 32-bit host Aurelien Jarno
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).