Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Nicolas Pitre and committed by
Russell King
c155fc95 3f2829a3

+2 -9
+2 -9
include/asm-arm/stat.h
··· 70 70 71 71 long long st_size; 72 72 unsigned long st_blksize; 73 - 74 - #if defined(__ARMEB__) 75 - unsigned long __pad4; /* Future possible st_blocks hi bits */ 76 - unsigned long st_blocks; /* Number 512-byte blocks allocated. */ 77 - #else /* Must be little */ 78 - unsigned long st_blocks; /* Number 512-byte blocks allocated. */ 79 - unsigned long __pad4; /* Future possible st_blocks hi bits */ 80 - #endif 73 + unsigned long long st_blocks; /* Number 512-byte blocks allocated. */ 81 74 82 75 unsigned long st_atime; 83 76 unsigned long st_atime_nsec; ··· 82 89 unsigned long st_ctime_nsec; 83 90 84 91 unsigned long long st_ino; 85 - } __attribute__((packed)); 92 + }; 86 93 87 94 #endif