diff options
author | Peter Maydell | 2012-10-12 05:55:51 +0200 |
---|---|---|
committer | Blue Swirl | 2012-12-08 19:49:30 +0100 |
commit | 24c35a504e8b09e697d0268bbefb2a329b901611 (patch) | |
tree | a20bed13981d69cc37e6855e3d354e896a283ef5 /linux-user/sparc/target_signal.h | |
parent | target-xtensa: use movcond where possible (diff) | |
download | qemu-24c35a504e8b09e697d0268bbefb2a329b901611.tar.gz qemu-24c35a504e8b09e697d0268bbefb2a329b901611.tar.xz qemu-24c35a504e8b09e697d0268bbefb2a329b901611.zip |
linux-user: Merge pread/pwrite into pread64/pwrite64
The Linux syscalls underlying pread() and pwrite() take a 64 bit
offset on all architectures, even if some of them name the syscall
"pread/pwrite" rather than "pread64/pwrite64" for historical reasons.
So move the four QEMU target architectures (arm, i386, sparc,
unicore32) which were defining TARGET_NR_pread/pwrite to define
TARGET_NR_pread64/pwrite64 instead, and drop the TARGET_NR_pread/pwrite
implementation code completely.
(Based on examination of the kernel sources for the four architectures
this patch affects.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user/sparc/target_signal.h')
0 files changed, 0 insertions, 0 deletions