diff options
author | Hans-Christian Egtvedt <egtvedt@samfundet.no> | 2016-02-28 18:14:41 +0100 |
---|---|---|
committer | Hans-Christian Egtvedt <egtvedt@samfundet.no> | 2016-03-14 11:08:29 +0100 |
commit | b837e97fd35a6b551e3478ace0623a0bd744787c (patch) | |
tree | 86e994c0e476025a30cd1724f30f4d8caaaa1f18 /arch/avr32/include | |
parent | b562e44f507e863c6792946e4e1b1449fbbac85d (diff) | |
download | linux-b837e97fd35a6b551e3478ace0623a0bd744787c.tar.gz linux-b837e97fd35a6b551e3478ace0623a0bd744787c.tar.bz2 linux-b837e97fd35a6b551e3478ace0623a0bd744787c.zip |
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>
Diffstat (limited to 'arch/avr32/include')
-rw-r--r-- | arch/avr32/include/uapi/asm/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/include/uapi/asm/unistd.h b/arch/avr32/include/uapi/asm/unistd.h index b60132bb27ea..60c0f3afc1f9 100644 --- a/arch/avr32/include/uapi/asm/unistd.h +++ b/arch/avr32/include/uapi/asm/unistd.h @@ -337,5 +337,6 @@ #define __NR_userfaultfd 322 #define __NR_membarrier 323 #define __NR_mlock2 324 +#define __NR_copy_file_range 325 #endif /* _UAPI__ASM_AVR32_UNISTD_H */ |