Commit da65f740 authored by Vincenzo Frascino's avatar Vincenzo Frascino Committed by Greg Kroah-Hartman

arm64: compat: Fix syscall number of compat_clock_getres

commit 3568b889 upstream.

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: 53c489e1 ("arm64: compat: Add missing syscall numbers")
Acked-by: default avatarCatalin Marinas <[email protected]>
Reviewed-by: default avatarNick Desaulniers <[email protected]>
Signed-off-by: default avatarVincenzo Frascino <[email protected]>
Signed-off-by: default avatarWill Deacon <[email protected]>
Signed-off-by: default avatarGreg Kroah-Hartman <[email protected]>
parent c34cfda1
......@@ -25,8 +25,8 @@
#define __NR_compat_gettimeofday 78
#define __NR_compat_sigreturn 119
#define __NR_compat_rt_sigreturn 173
#define __NR_compat_clock_getres 247
#define __NR_compat_clock_gettime 263
#define __NR_compat_clock_getres 264
#define __NR_compat_clock_gettime64 403
#define __NR_compat_clock_getres_time64 406
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment