summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-11-03 14:06:55 +0100
committerAndreas Schwab <schwab@redhat.com>2009-11-05 11:30:39 +0100
commitbf88d9cb9f9f82c74334a014bb5fb8592d8e2e1f (patch)
tree1ea3ccb956787c33a31a2ebb5f5e3c9d988aa270
parentdcdbf85d97d878dc90f5681124485c1633bc9423 (diff)
downloadglibc-bf88d9cb9f9f82c74334a014bb5fb8592d8e2e1f.tar.gz
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b09c7c7fc..f168e46d27 100644
--- 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-10-30 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump for 2.11 release.
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