]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9555e71aa8f3b558d29334219d15d49c782527dc
tree9f89ef7dad5cdeb7bed996de6b1784b52de397ea
parentb40d6b88aca64f2d8cb0d162f730b6c6a1f14064
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