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)
commite412ac4971d27ea84f3d63ce425c6ab2d6a67f23
treee73b08d0114f5cc63ad8f44f4e11434abc8f642f
parent7c8545e98468c53809fc06788a3b9a34dff05240
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