avr32: wire up preadv2 and pwritev2 syscalls
authorHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Sun, 29 May 2016 19:11:53 +0000 (21:11 +0200)
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Fri, 29 Jul 2016 09:55:57 +0000 (11:55 +0200)
commit389ce5a9616b5c2ae386a1fde7401762a4ed1b37
tree9f89ef7dad5cdeb7bed996de6b1784b52de397ea
parent523d939ef98fd712632d93a5a2b588e477a7565e
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 <egtvedt@samfundet.no>
arch/avr32/include/uapi/asm/unistd.h
arch/avr32/kernel/syscall-stubs.S
arch/avr32/kernel/syscall_table.S