On Tue, May 05, 2020 at 04:54:57PM +0100, Will Deacon wrote: > On Tue, May 05, 2020 at 04:24:40PM +0100, Dave Martin wrote: > > 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". > > > > Signed-off-by: Dave Martin <Dave.Martin@xxxxxxx> > > --- > > man2/syscall.2 | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/man2/syscall.2 b/man2/syscall.2 > > index 53ab40e..d724651 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 - > > Acked-by: Will Deacon <will@xxxxxxxxxx> Thanks! ---Dave