Correct readahead syscall wrapper on powerpc32.
authorAndreas Schwab <schwab@redhat.com>
Fri, 6 Nov 2009 17:29:24 +0000 (09:29 -0800)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Nov 2009 17:29:24 +0000 (09:29 -0800)
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.

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

index 1a44a6b..03efd6c 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-03  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Don't
index 82025b4..1233be6 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