aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-24 10:52:26 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-24 10:52:26 -0500
commit561c6731978fa128f29342495f47fc3365898b3d (patch)
tree6adc3a961708c8ec2d8e3a52e80bf9421f866066 /arch/arm64
parentaee41fe2b2468bd3276e8eecd36c3e75927e2c53 (diff)
switch lseek to COMPAT_SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/include/asm/unistd32.h2
-rw-r--r--arch/arm64/kernel/sys32.S5
2 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h
index e60e386178d1..8153f1a43f0a 100644
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -40,7 +40,7 @@ __SYSCALL(15, sys_chmod)
40__SYSCALL(16, sys_lchown16) 40__SYSCALL(16, sys_lchown16)
41__SYSCALL(17, sys_ni_syscall) /* 17 was sys_break */ 41__SYSCALL(17, sys_ni_syscall) /* 17 was sys_break */
42__SYSCALL(18, sys_ni_syscall) /* 18 was sys_stat */ 42__SYSCALL(18, sys_ni_syscall) /* 18 was sys_stat */
43__SYSCALL(19, compat_sys_lseek_wrapper) 43__SYSCALL(19, compat_sys_lseek)
44__SYSCALL(20, sys_getpid) 44__SYSCALL(20, sys_getpid)
45__SYSCALL(21, compat_sys_mount) 45__SYSCALL(21, compat_sys_mount)
46__SYSCALL(22, sys_ni_syscall) /* 22 was sys_umount */ 46__SYSCALL(22, sys_ni_syscall) /* 22 was sys_umount */
diff --git a/arch/arm64/kernel/sys32.S b/arch/arm64/kernel/sys32.S
index 6abb05721614..9416d045a687 100644
--- a/arch/arm64/kernel/sys32.S
+++ b/arch/arm64/kernel/sys32.S
@@ -58,11 +58,6 @@ ENDPROC(compat_sys_fstatfs64_wrapper)
58 * in registers or that take 32-bit parameters which require sign 58 * in registers or that take 32-bit parameters which require sign
59 * extension. 59 * extension.
60 */ 60 */
61compat_sys_lseek_wrapper:
62 sxtw x1, w1
63 b sys_lseek
64ENDPROC(compat_sys_lseek_wrapper)
65
66compat_sys_pread64_wrapper: 61compat_sys_pread64_wrapper:
67 orr x3, x4, x5, lsl #32 62 orr x3, x4, x5, lsl #32
68 b sys_pread64 63 b sys_pread64