summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaavard Skinnemoen2007-05-13 16:33:33 +0200
committerHaavard Skinnemoen2007-05-13 17:07:57 +0200
commit78c129b949bdee21dd996ac5f5cfc655cd5bd42e (patch)
treee39144a19077210263c4810d4a76f170209b5b02
parent[AVR32] optimize pagefault path (diff)
downloadkernel-qcow2-linux-78c129b949bdee21dd996ac5f5cfc655cd5bd42e.tar.gz
kernel-qcow2-linux-78c129b949bdee21dd996ac5f5cfc655cd5bd42e.tar.xz
kernel-qcow2-linux-78c129b949bdee21dd996ac5f5cfc655cd5bd42e.zip
[AVR32] Wire up signalfd, timerfd and eventfd
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--arch/avr32/kernel/syscall_table.S3
-rw-r--r--include/asm-avr32/unistd.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/avr32/kernel/syscall_table.S b/arch/avr32/kernel/syscall_table.S
index 07f6a6fa340d..75c81f2dd0b3 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -292,4 +292,7 @@ sys_call_table:
.long sys_shmdt
.long sys_shmctl
.long sys_utimensat
+ .long sys_signalfd
+ .long sys_timerfd /* 280 */
+ .long sys_eventfd
.long sys_ni_syscall /* r8 is saturated at nr_syscalls */
diff --git a/include/asm-avr32/unistd.h b/include/asm-avr32/unistd.h
index 2418cce624cc..3b4e35b55c82 100644
--- a/include/asm-avr32/unistd.h
+++ b/include/asm-avr32/unistd.h
@@ -296,9 +296,12 @@
#define __NR_shmctl 277
#define __NR_utimensat 278
+#define __NR_signalfd 279
+#define __NR_timerfd 280
+#define __NR_eventfd 281
#ifdef __KERNEL__
-#define NR_syscalls 279
+#define NR_syscalls 282
#define __ARCH_WANT_IPC_PARSE_VERSION