diff options
author | Andreas Schwab <schwab@redhat.com> | 2009-11-06 09:29:24 -0800 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2009-11-13 15:09:58 +0100 |
commit | 6c7deb9def4134856b0aded540bfe2eec9fded4b (patch) | |
tree | c647b2003bf6885b88a58dcb5bd00b9440cf7c16 | |
parent | 710cfbb02e47ad5d2fafb0403b1d2cadb91ac35d (diff) |
Correct readahead syscall wrapper on powerpc32.
Due to alignment of 64bit parameters there is a dummy second argument.
But other than that the syscall arguments are directly mapped to the
function arguments.
(cherry picked from commit 5b55d23611e939340d658f42212c474c8188053e)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2009-11-03 Andreas Schwab <schwab@redhat.com> + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add + readahead. + 2009-11-04 Jakub Jelinek <jakub@redhat.com> * misc/sys/uio.h (preadv, pwritev): Fix type of last argument diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list b/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list index 82025b4855..1233be671a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list @@ -3,3 +3,6 @@ # System calls with wrappers. oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@GLIBC_2.0 oldsetrlimit EXTRA setrlimit i:ip __old_setrlimit setrlimit@GLIBC_2.0 + +# Due to 64bit alignment there is a dummy second parameter +readahead - readahead i:iiiii __readahead readahead |