microblaze: Fix the target version of stat64 struct

MicroBlaze needs TARGET_STAT64_HAS_BROKEN_ST_INO.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
This commit is contained in:
Edgar E. Iglesias 2010-08-09 10:13:33 +02:00 committed by Edgar E. Iglesias
parent 60592edde4
commit a523eb06ec

View File

@ -1282,7 +1282,10 @@ struct target_stat {
/* FIXME: Microblaze no-mmu user-space has a difference stat64 layout... */ /* FIXME: Microblaze no-mmu user-space has a difference stat64 layout... */
struct __attribute__((__packed__)) target_stat64 { struct __attribute__((__packed__)) target_stat64 {
uint64_t st_dev; uint64_t st_dev;
uint64_t st_ino; #define TARGET_STAT64_HAS_BROKEN_ST_INO 1
uint32_t pad0;
uint32_t __st_ino;
uint32_t st_mode; uint32_t st_mode;
uint32_t st_nlink; uint32_t st_nlink;
uint32_t st_uid; uint32_t st_uid;
@ -1301,8 +1304,7 @@ struct __attribute__((__packed__)) target_stat64 {
unsigned int target_st_mtime_nsec; unsigned int target_st_mtime_nsec;
int target_st_ctime; int target_st_ctime;
unsigned int target_st_ctime_nsec; unsigned int target_st_ctime_nsec;
uint32_t __unused4; uint64_t st_ino;
uint32_t __unused5;
}; };
#elif defined(TARGET_M68K) #elif defined(TARGET_M68K)