Commit 707b3ee068a1324b708f6dd707cc156a0b8de371
1 parent
78600320
ARM 64-bit host fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2155 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
10 additions
and
10 deletions
linux-user/syscall_defs.h
@@ -938,29 +938,29 @@ struct target_stat64 { | @@ -938,29 +938,29 @@ struct target_stat64 { | ||
938 | struct target_eabi_stat64 { | 938 | struct target_eabi_stat64 { |
939 | unsigned long long st_dev; | 939 | unsigned long long st_dev; |
940 | unsigned int __pad1; | 940 | unsigned int __pad1; |
941 | - unsigned long __st_ino; | 941 | + target_ulong __st_ino; |
942 | unsigned int st_mode; | 942 | unsigned int st_mode; |
943 | unsigned int st_nlink; | 943 | unsigned int st_nlink; |
944 | 944 | ||
945 | - unsigned long st_uid; | ||
946 | - unsigned long st_gid; | 945 | + target_ulong st_uid; |
946 | + target_ulong st_gid; | ||
947 | 947 | ||
948 | unsigned long long st_rdev; | 948 | unsigned long long st_rdev; |
949 | unsigned int __pad2[2]; | 949 | unsigned int __pad2[2]; |
950 | 950 | ||
951 | long long st_size; | 951 | long long st_size; |
952 | - unsigned long st_blksize; | 952 | + target_ulong st_blksize; |
953 | unsigned int __pad3; | 953 | unsigned int __pad3; |
954 | unsigned long long st_blocks; | 954 | unsigned long long st_blocks; |
955 | 955 | ||
956 | - unsigned long target_st_atime; | ||
957 | - unsigned long target_st_atime_nsec; | 956 | + target_ulong target_st_atime; |
957 | + target_ulong target_st_atime_nsec; | ||
958 | 958 | ||
959 | - unsigned long target_st_mtime; | ||
960 | - unsigned long target_st_mtime_nsec; | 959 | + target_ulong target_st_mtime; |
960 | + target_ulong target_st_mtime_nsec; | ||
961 | 961 | ||
962 | - unsigned long target_st_ctime; | ||
963 | - unsigned long target_st_ctime_nsec; | 962 | + target_ulong target_st_ctime; |
963 | + target_ulong target_st_ctime_nsec; | ||
964 | 964 | ||
965 | unsigned long long st_ino; | 965 | unsigned long long st_ino; |
966 | } __attribute__ ((packed)); | 966 | } __attribute__ ((packed)); |