diff options
author | Chris Zankel <chris@zankel.net> | 2007-08-05 13:22:58 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2007-08-27 16:53:32 -0400 |
commit | bc671aa9838f234ccfc794a77325628f1e41e083 (patch) | |
tree | 7a94178df1f3cbe87458c3cb5329548187fbb8ad /include/asm-xtensa/syscall.h | |
parent | 068732d9b465cafcc56a745c3931f2fc4e58f48f (diff) |
[XTENSA] Fix fadvise64_64
Xtensa passes long long arguments in a even/odd register pair,
so we also need to shuffle the arguments when passed through the
system call to avoid an empty argument register.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/syscall.h')
-rw-r--r-- | include/asm-xtensa/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-xtensa/syscall.h b/include/asm-xtensa/syscall.h index ea9b5132215e..05cebf8f62b1 100644 --- a/include/asm-xtensa/syscall.h +++ b/include/asm-xtensa/syscall.h | |||
@@ -28,6 +28,8 @@ asmlinkage long sys_rt_sigaction(int, | |||
28 | struct sigaction __user *, | 28 | struct sigaction __user *, |
29 | size_t); | 29 | size_t); |
30 | asmlinkage long xtensa_shmat(int, char __user *, int); | 30 | asmlinkage long xtensa_shmat(int, char __user *, int); |
31 | asmlinkage long xtensa_fadvise64_64(int, int, | ||
32 | unsigned long long, unsigned long long); | ||
31 | 33 | ||
32 | /* Should probably move to linux/syscalls.h */ | 34 | /* Should probably move to linux/syscalls.h */ |
33 | struct pollfd; | 35 | struct pollfd; |