summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-11-06 09:29:24 -0800
committerAndreas Schwab <schwab@redhat.com>2009-11-13 15:09:58 +0100
commit6c7deb9def4134856b0aded540bfe2eec9fded4b (patch)
treec647b2003bf6885b88a58dcb5bd00b9440cf7c16 /sysdeps
parent710cfbb02e47ad5d2fafb0403b1d2cadb91ac35d (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)
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list3
1 files changed, 3 insertions, 0 deletions
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