Skip to content

Commit

Permalink
Correct readahead syscall wrapper on powerpc32
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Andreas Schwab committed Nov 5, 2009
1 parent dcdbf85 commit bf88d9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 3 additions & 0 deletions sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf88d9c

Please sign in to comment.