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.
(cherry picked from commit 5b55d23)
  • Loading branch information
Andreas Schwab committed Nov 13, 2009
1 parent 710cfbb commit 6c7deb9
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-11-04 Jakub Jelinek <jakub@redhat.com>

* misc/sys/uio.h (preadv, pwritev): Fix type of last argument
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 6c7deb9

Please sign in to comment.