diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-11-05 19:58:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-11-05 19:58:06 +0000 |
commit | 5bfed16d69f287251f95d8ec35ec16068b453224 (patch) | |
tree | c48fff87996f6d42574a8812986149f5ad71c739 /sysdeps/unix/sysv/linux/powerpc/pread64.c | |
parent | f6e50e66ad9e75627caf800e0f0f24efac28e456 (diff) | |
download | glibc-5bfed16d69f287251f95d8ec35ec16068b453224.tar glibc-5bfed16d69f287251f95d8ec35ec16068b453224.tar.gz glibc-5bfed16d69f287251f95d8ec35ec16068b453224.tar.bz2 glibc-5bfed16d69f287251f95d8ec35ec16068b453224.zip |
Update.
2002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
__NR_pread64 and __NR_pwrite64.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
and __NR_pwrite64.
Revert change to use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Update clobber list and add a comment about the syscall ABI.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/pread64.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/pread64.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/pread64.c b/sysdeps/unix/sysv/linux/powerpc/pread64.c index 68ef8388e0..d6acb72b9d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/pread64.c +++ b/sysdeps/unix/sysv/linux/powerpc/pread64.c @@ -24,13 +24,6 @@ #include <sys/syscall.h> #include <bp-checks.h> -#ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ -# ifdef __NR_pread -# error "__NR_pread and __NR_pread64 both defined???" -# endif -# define __NR_pread __NR_pread64 -#endif - #ifdef __NR_pread extern ssize_t __syscall_pread (int fd, void *buf, size_t count, @@ -50,7 +43,7 @@ __libc_pread64 (fd, buf, count, offset) ssize_t result; /* First try the syscall. */ - result = INLINE_SYSCALL (pread, 4, fd, CHECK_N (buf, count), count, offset); + result = __syscall_pread (fd, CHECK_N (buf, count), count, offset); if (result == -1 && errno == ENOSYS) /* No system call available. Use the emulation. */ result = __emulate_pread64 (fd, buf, count, offset); |