aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Pettersson <mikpe@it.uu.se>2010-09-16 14:12:55 -0400
committerMatt Turner <mattst88@gmail.com>2010-09-18 23:06:19 -0400
commit531f0474bf889d489b28ea4b15e87b7cbb77f580 (patch)
treec189144c38dcbfe028770019e28f04b0fa0d6d23
parent12e750d956eec8b1778679aff705f617095c46c8 (diff)
downloadmrst-s0i3-test-531f0474bf889d489b28ea4b15e87b7cbb77f580.tar.gz
mrst-s0i3-test-531f0474bf889d489b28ea4b15e87b7cbb77f580.tar.xz
mrst-s0i3-test-531f0474bf889d489b28ea4b15e87b7cbb77f580.zip
alpha: wire up fanotify and prlimit64 syscalls
The 2.6.36-rc kernel added three new system calls: fanotify_init, fanotify_mark, and prlimit64. This patch wires them up on Alpha. Built and booted on an XP900. Untested beyond that. Signed-off-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--arch/alpha/include/asm/unistd.h5
-rw-r--r--arch/alpha/kernel/systbls.S3
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h
index 804e5311c84..9a9672f0a34 100644
--- a/arch/alpha/include/asm/unistd.h
+++ b/arch/alpha/include/asm/unistd.h
@@ -449,10 +449,13 @@
#define __NR_pwritev 491
#define __NR_rt_tgsigqueueinfo 492
#define __NR_perf_event_open 493
+#define __NR_fanotify_init 494
+#define __NR_fanotify_mark 495
+#define __NR_prlimit64 496
#ifdef __KERNEL__
-#define NR_SYSCALLS 494
+#define NR_SYSCALLS 497
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S
index 09acb786e72..ce594ef533c 100644
--- a/arch/alpha/kernel/systbls.S
+++ b/arch/alpha/kernel/systbls.S
@@ -512,6 +512,9 @@ sys_call_table:
.quad sys_pwritev
.quad sys_rt_tgsigqueueinfo
.quad sys_perf_event_open
+ .quad sys_fanotify_init
+ .quad sys_fanotify_mark /* 495 */
+ .quad sys_prlimit64
.size sys_call_table, . - sys_call_table
.type sys_call_table, @object