diff options
author | Nicolas Pitre <nico@cam.org> | 2006-01-14 16:32:12 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-14 16:32:12 +0000 |
commit | c155fc95befc95f4a9d6497f5fadec22f4bc3a24 (patch) | |
tree | 116118cd43f6cfa5ac01eac1e8ca7bf62a364ca1 /include/asm-arm/stat.h | |
parent | 3f2829a31573e3e502b874c8d69a765f7a778793 (diff) | |
download | op-kernel-dev-c155fc95befc95f4a9d6497f5fadec22f4bc3a24.zip op-kernel-dev-c155fc95befc95f4a9d6497f5fadec22f4bc3a24.tar.gz |
[ARM] 3106/2: ARM EABI: some syscall adjustments
Patch from Nicolas Pitre
Fix a few syscalls for EABI requirements. They were sys_pread64 and
sys_pwrite64 where the last argument is now entirely pushed on stack,
but since commit 567bd98017d9c9f2ac1c148ddc78c062e8abd398 they don't
require any fixup. Remains only the stat64 structure. Non EABI kernels
are unaffected.
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/stat.h')
-rw-r--r-- | include/asm-arm/stat.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/asm-arm/stat.h b/include/asm-arm/stat.h index ec4e2c2..42c0c13 100644 --- a/include/asm-arm/stat.h +++ b/include/asm-arm/stat.h @@ -70,14 +70,7 @@ struct stat64 { long long st_size; unsigned long st_blksize; - -#if defined(__ARMEB__) - unsigned long __pad4; /* Future possible st_blocks hi bits */ - unsigned long st_blocks; /* Number 512-byte blocks allocated. */ -#else /* Must be little */ - unsigned long st_blocks; /* Number 512-byte blocks allocated. */ - unsigned long __pad4; /* Future possible st_blocks hi bits */ -#endif + unsigned long long st_blocks; /* Number 512-byte blocks allocated. */ unsigned long st_atime; unsigned long st_atime_nsec; @@ -89,6 +82,6 @@ struct stat64 { unsigned long st_ctime_nsec; unsigned long long st_ino; -} __attribute__((packed)); +}; #endif |