[tip:,locking/core] alpha: Fix up new futex syscall numbers

Message ID 169745586011.3135.7148884690767482787.tip-bot2@tip-bot2
State New
Headers
Series [tip:,locking/core] alpha: Fix up new futex syscall numbers |

Commit Message

tip-bot2 for Thomas Gleixner Oct. 16, 2023, 11:31 a.m. UTC
  The following commit has been merged into the locking/core branch of tip:

Commit-ID:     dcc134510eefaec6dda4fe71ab824f0300ed9f9f
Gitweb:        https://git.kernel.org/tip/dcc134510eefaec6dda4fe71ab824f0300ed9f9f
Author:        Peter Zijlstra <peterz@infradead.org>
AuthorDate:    Mon, 16 Oct 2023 13:12:54 +02:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Mon, 16 Oct 2023 13:20:54 +02:00

alpha: Fix up new futex syscall numbers

As per Arnd, Alpha syscalls since time64 are offset by 120, retain
this offset.

Fixes: 9f6c532f59b2 ("futex: Add sys_futex_wake()")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/cb4bb8e2-7dfe-4ca4-aa70-060f7b2f8f95@app.fastmail.com
---
 arch/alpha/kernel/syscalls/syscall.tbl | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
  

Patch

diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl
index b1865f9..b68f1f5 100644
--- a/arch/alpha/kernel/syscalls/syscall.tbl
+++ b/arch/alpha/kernel/syscalls/syscall.tbl
@@ -492,6 +492,7 @@ 
 560	common	set_mempolicy_home_node		sys_ni_syscall
 561	common	cachestat			sys_cachestat
 562	common	fchmodat2			sys_fchmodat2
-563	common	futex_wake			sys_futex_wake
-564	common	futex_wait			sys_futex_wait
-565	common	futex_requeue			sys_futex_requeue
+# 563 reserved for map_shadow_stack
+564	common	futex_wake			sys_futex_wake
+565	common	futex_wait			sys_futex_wait
+566	common	futex_requeue			sys_futex_requeue