Skip to content

Commit 3568b88

Browse files
fvincenzowilldeacon
authored andcommitted
arm64: compat: Fix syscall number of compat_clock_getres
The syscall number of compat_clock_getres was erroneously set to 247 (__NR_io_cancel!) instead of 264. This causes the vDSO fallback of clock_getres() to land on the wrong syscall for compat tasks. Fix the numbering. Cc: <[email protected]> Fixes: 53c489e ("arm64: compat: Add missing syscall numbers") Acked-by: Catalin Marinas <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Vincenzo Frascino <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent c835578 commit 3568b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/include/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#define __NR_compat_gettimeofday 78
2626
#define __NR_compat_sigreturn 119
2727
#define __NR_compat_rt_sigreturn 173
28-
#define __NR_compat_clock_getres 247
2928
#define __NR_compat_clock_gettime 263
29+
#define __NR_compat_clock_getres 264
3030
#define __NR_compat_clock_gettime64 403
3131
#define __NR_compat_clock_getres_time64 406
3232

0 commit comments

Comments
 (0)