wire up fanotify and prlimit64 syscalls on Alpha
PATCH 1/1 wire up fanotify and prlimit64 syscalls on Alpha
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.
--- arch/alpha/include/asm/unistd.h | 5 ++++- arch/alpha/kernel/systbls.S | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-)
arch/alpha/include/asm/unistd.h +4 -1
@@ -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
arch/alpha/kernel/systbls.S +3 -0
@@ -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
Matt Turner
maintainerQuoted 41 lines · Mikael Pettersson
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 <[email protected]>---
arch/alpha/include/asm/unistd.h | 5 ++++-
arch/alpha/kernel/systbls.S | 3 +++2 files changed, 7 insertions(+), 1 deletion(-)diff -rupN
linux-2.6.36-rc4/arch/alpha/include/asm/unistd.hlinux-2.6.36-rc4.alpha-fanotify+prlimit64-syscalls/arch/alpha/include/asm/unistd.harch/alpha/include/asm/unistd.h 2010-09-16 15:50:45.000000000 +0200 renamed from arch/alpha/include/asm/unistd.h 2010-02-25 14:45:00.000000000 +0100 +4
-1@@ -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_READDIRdiff -rupN
linux-2.6.36-rc4/arch/alpha/kernel/systbls.Slinux-2.6.36-rc4.alpha-fanotify+prlimit64-syscalls/arch/alpha/kernel/systbls.Sarch/alpha/kernel/systbls.S 2010-09-16 15:50:45.000000000 +0200 renamed from arch/alpha/kernel/systbls.S 2010-02-25 14:45:00.000000000 +0100 +0
-0@@ -512,6 +512,9 @@ sys_call_table:.quad
sys_pwritev
.quadsys_rt_tgsigqueueinfo
.quadsys_perf_event_open
+ .quadsys_fanotify_init
+ .quadsys_fanotify_mark/* 495 */
+ .quadsys_prlimit64
Quoted 3 lines
.size
sys_call_table, . -sys_call_table
.typesys_call_table, @object
--
Thanks! Will apply.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html