Commit c155fc95 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King

[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 567bd980 they don't
require any fixup.  Remains only the stat64 structure. Non EABI kernels
are unaffected.

Signed-off-by: Nicolas Pitre
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3f2829a3
...@@ -70,14 +70,7 @@ struct stat64 { ...@@ -70,14 +70,7 @@ struct stat64 {
long long st_size; long long st_size;
unsigned long st_blksize; unsigned long st_blksize;
unsigned long long st_blocks; /* Number 512-byte blocks allocated. */
#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 st_atime; unsigned long st_atime;
unsigned long st_atime_nsec; unsigned long st_atime_nsec;
...@@ -89,6 +82,6 @@ struct stat64 { ...@@ -89,6 +82,6 @@ struct stat64 {
unsigned long st_ctime_nsec; unsigned long st_ctime_nsec;
unsigned long long st_ino; unsigned long long st_ino;
} __attribute__((packed)); };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment