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 7589a9b426cb8921ed52cd746e29551f55a5eb1e..890286a1e62b8c88147a4de13575814008a0e77c 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 63b206965d0500ddd8a0b09571238b74de479f46..db8f8b55ffdf2925cfc0288a045c2fc463eefa3a 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 a50e5004550c5d506d23b33db1a5bea490d50e84..56ed1f9d348a55f1ad3e534310a63359ec66dc58 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