From 3862672084d94d7de222c69857dcb23b8c7f7dda Mon Sep 17 00:00:00 2001 From: Dave Martin Date: Tue, 5 May 2020 16:24:40 +0100 Subject: [PATCH] syscall.2: arm64: Fix syscall number register size arm64 is currently documented as receiving the syscall number in x8. While this is the correct register, the syscall number is a 32-bit integer. Bits [63:32] are ignored by the kernel. So it is more correct to say "w8". Acked-by: Will Deacon Signed-off-by: Dave Martin Signed-off-by: Michael Kerrisk --- man2/syscall.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/syscall.2 b/man2/syscall.2 index 53ab40efa..d72465146 100644 --- a/man2/syscall.2 +++ b/man2/syscall.2 @@ -203,7 +203,7 @@ alpha callsys v0 v0 a4 a3 1, 6 arc trap0 r8 r0 - - arm/OABI swi NR - r0 - - 2 arm/EABI swi 0x0 r7 r0 r1 - -arm64 svc #0 x8 x0 x1 - +arm64 svc #0 w8 x0 x1 - blackfin excpt 0x0 P0 R0 - - i386 int $0x80 eax eax edx - ia64 break 0x100000 r15 r8 r9 r10 1, 6