AVR32: Wire up sys_epoll_pwait
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 6 Nov 2006 13:02:44 +0000 (14:02 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 6 Nov 2006 13:07:15 +0000 (14:07 +0100)
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/syscall-stubs.S
arch/avr32/kernel/syscall_table.S
include/asm-avr32/unistd.h

index 7589a9b..890286a 100644 (file)
@@ -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
index 63b2069..db8f8b5 100644 (file)
@@ -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 */
index a50e500..56ed1f9 100644 (file)
 #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