avr32: wire up copy_file_range syscall
authorHans-Christian Egtvedt <egtvedt@samfundet.no>
Sun, 28 Feb 2016 17:14:41 +0000 (18:14 +0100)
committerHans-Christian Egtvedt <egtvedt@samfundet.no>
Mon, 14 Mar 2016 10:08:29 +0000 (11:08 +0100)
commitb837e97fd35a6b551e3478ace0623a0bd744787c
tree86e994c0e476025a30cd1724f30f4d8caaaa1f18
parentb562e44f507e863c6792946e4e1b1449fbbac85d
avr32: wire up copy_file_range syscall

This patch wires up the new copy_file_range 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