Skip to content

Commit

Permalink
[ARM] 3106/2: ARM EABI: some syscall adjustments
Browse files Browse the repository at this point in the history
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 567bd98 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>
  • Loading branch information
Nicolas Pitre authored and Russell King committed Jan 14, 2006
1 parent 3f2829a commit c155fc9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions include/asm-arm/stat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -89,6 +82,6 @@ struct stat64 {
unsigned long st_ctime_nsec;

unsigned long long st_ino;
} __attribute__((packed));
};

#endif

0 comments on commit c155fc9

Please sign in to comment.