diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-24 10:52:26 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-24 10:52:26 -0500 |
commit | 561c6731978fa128f29342495f47fc3365898b3d (patch) | |
tree | 6adc3a961708c8ec2d8e3a52e80bf9421f866066 /arch/arm64 | |
parent | aee41fe2b2468bd3276e8eecd36c3e75927e2c53 (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.h | 2 | ||||
-rw-r--r-- | arch/arm64/kernel/sys32.S | 5 |
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 | */ |
61 | compat_sys_lseek_wrapper: | ||
62 | sxtw x1, w1 | ||
63 | b sys_lseek | ||
64 | ENDPROC(compat_sys_lseek_wrapper) | ||
65 | |||
66 | compat_sys_pread64_wrapper: | 61 | compat_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 |