Skip to content

Commit

Permalink
AVR32: Wire up sys_epoll_pwait
Browse files Browse the repository at this point in the history
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
  • Loading branch information
Haavard Skinnemoen committed Nov 6, 2006
1 parent 168c8fa commit bbfd2bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions arch/avr32/kernel/syscall-stubs.S
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,12 @@ __sys_splice:
rcall sys_splice
sub sp, -4
popm pc

.global __sys_epoll_pwait
.type __sys_epoll_pwait,@function
__sys_epoll_pwait:
pushm lr
st.w --sp, ARG6
rcall sys_epoll_pwait
sub sp, -4
popm pc
1 change: 1 addition & 0 deletions arch/avr32/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,5 @@ sys_call_table:
.long sys_sync_file_range
.long sys_tee
.long sys_vmsplice
.long __sys_epoll_pwait /* 265 */
.long sys_ni_syscall /* r8 is saturated at nr_syscalls */
3 changes: 2 additions & 1 deletion include/asm-avr32/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,10 @@
#define __NR_sync_file_range 262
#define __NR_tee 263
#define __NR_vmsplice 264
#define __NR_epoll_pwait 265

#ifdef __KERNEL__
#define NR_syscalls 265
#define NR_syscalls 266


#define __ARCH_WANT_IPC_PARSE_VERSION
Expand Down

0 comments on commit bbfd2bf

Please sign in to comment.