diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-29 13:09:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-29 13:09:55 -0700 |
commit | befff3bfb3b39099a5f4b1f8f9f94496c80f004a (patch) | |
tree | 6cb7cce1f215072c43e1f7dac5f1bb5854c35923 /arch/avr32/kernel/syscall-stubs.S | |
parent | b5f00d18cc345bad3f5542b37886824c34a2a7ff (diff) | |
parent | 55f1cf83d5cf885c75267269729805852039c834 (diff) | |
download | linux-befff3bfb3b39099a5f4b1f8f9f94496c80f004a.tar.gz linux-befff3bfb3b39099a5f4b1f8f9f94496c80f004a.tar.xz |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32
Pull AVR32 updates from Hans-Christian Noren Egtvedt.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32:
avr32: off by one in at32_init_pio()
avr32: fixup code style in unistd.h and syscall_table.S
avr32: wire up preadv2 and pwritev2 syscalls
Diffstat (limited to 'arch/avr32/kernel/syscall-stubs.S')
-rw-r--r-- | arch/avr32/kernel/syscall-stubs.S | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/avr32/kernel/syscall-stubs.S b/arch/avr32/kernel/syscall-stubs.S index cb3991552f14..cb256534ed92 100644 --- a/arch/avr32/kernel/syscall-stubs.S +++ b/arch/avr32/kernel/syscall-stubs.S @@ -133,3 +133,21 @@ __sys_copy_file_range: call sys_copy_file_range sub sp, -4 popm pc + + .global __sys_preadv2 + .type __sys_preadv2,@function +__sys_preadv2: + pushm lr + st.w --sp, ARG6 + call sys_preadv2 + sub sp, -4 + popm pc + + .global __sys_pwritev2 + .type __sys_pwritev2,@function +__sys_pwritev2: + pushm lr + st.w --sp, ARG6 + call sys_pwritev2 + sub sp, -4 + popm pc |