]> git.baikalelectronics.ru Git - kernel.git/commit
x86_64: Fix readahead/sync_file_range/fadvise64 compat calls
authorAndi Kleen <ak@suse.de>
Wed, 20 Jun 2007 10:23:30 +0000 (12:23 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 20 Jun 2007 21:27:25 +0000 (14:27 -0700)
commit6f7a36e9203369447d4c4c406bd4df5bd90443c3
treee73b08d0114f5cc63ad8f44f4e11434abc8f642f
parentb31d00219da32adb64920d574d4ca2b4a8a66855
x86_64: Fix readahead/sync_file_range/fadvise64 compat calls

Correctly convert the u64 arguments from 32bit to 64bit.

Pointed out by Heiko Carstens.

I guess this proves Linus' theory that nobody uses the more exotic Linux
specific syscalls.  It wasn't discovered by a user.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/ia32/ia32entry.S
arch/x86_64/ia32/sys_ia32.c