From 389ce5a9616b5c2ae386a1fde7401762a4ed1b37 Mon Sep 17 00:00:00 2001 From: Hans-Christian Noren Egtvedt Date: Sun, 29 May 2016 21:11:53 +0200 Subject: avr32: wire up preadv2 and pwritev2 syscalls This patch wires up the new preadv2 and pwritev2 syscall on AVR32. On AVR32, all parameters beyond the 5th are passed on the stack. System calls don't use the stack -- they borrow a callee-saved register instead. This means that syscalls that take 6 parameters must be called through a stub that pushes the last parameter on the stack. Signed-off-by: Hans-Christian Noren Egtvedt --- arch/avr32/include/uapi/asm/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/avr32/include') diff --git a/arch/avr32/include/uapi/asm/unistd.h b/arch/avr32/include/uapi/asm/unistd.h index 60c0f3afc1f9..d0c1f6db4b8f 100644 --- a/arch/avr32/include/uapi/asm/unistd.h +++ b/arch/avr32/include/uapi/asm/unistd.h @@ -338,5 +338,7 @@ #define __NR_membarrier 323 #define __NR_mlock2 324 #define __NR_copy_file_range 325 +#define __NR_preadv2 326 +#define __NR_pwritev2 327 #endif /* _UAPI__ASM_AVR32_UNISTD_H */ -- cgit v1.2.3