]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct readahead syscall wrapper on powerpc32.
authorAndreas Schwab <schwab@redhat.com>
Fri, 6 Nov 2009 17:29:24 +0000 (09:29 -0800)
committerAndreas Schwab <schwab@redhat.com>
Fri, 13 Nov 2009 14:09:58 +0000 (15:09 +0100)
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)

ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list

index 38a3d4d56a63a1d2c41bed9224e5eda9ec1304d8..b46fed2983da68b193b2955055058c0cef7182be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 82025b48557df944c80457a4fb43446aa11e5393..1233be671a4080b9579df6aa436396572940d612 100644 (file)
@@ -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