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 /arch | |
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 'arch')
-rw-r--r-- | arch/xtensa/kernel/syscall.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/syscall.c b/arch/xtensa/kernel/syscall.c index fe3834bc1dbf..f3e16efcd47a 100644 --- a/arch/xtensa/kernel/syscall.c +++ b/arch/xtensa/kernel/syscall.c | |||
@@ -93,3 +93,8 @@ asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg) | |||
93 | return (long)ret; | 93 | return (long)ret; |
94 | } | 94 | } |
95 | 95 | ||
96 | asmlinkage long xtensa_fadvise64_64(int fd, int advice, unsigned long long offset, unsigned long long len) | ||
97 | { | ||
98 | return sys_fadvise64_64(fd, offset, len, advice); | ||
99 | } | ||
100 | |||