x86: Add new syscalls for x86_32
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 29 Jan 2011 13:13:35 +0000 (18:43 +0530)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 06:21:44 +0000 (02:21 -0400)
This patch adds new syscalls to x86_32

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/include/asm/unistd_32.h
arch/x86/kernel/syscall_table_32.S

index b766a5e8ba0e7802501b049034394a343216cf4a..f4c4973fc2ac7a1af8907e2bda7a8bdcf21f7c15 100644 (file)
 #define __NR_fanotify_init     338
 #define __NR_fanotify_mark     339
 #define __NR_prlimit64         340
+#define __NR_name_to_handle_at 341
+#define __NR_open_by_handle_at  342
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 341
+#define NR_syscalls 343
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
index b35786dc9b8f133fc03fd5f25629e62d1f6ae287..c314b2199efd1527fa9bd581bf39295ea714228c 100644 (file)
@@ -340,3 +340,5 @@ ENTRY(sys_call_table)
        .long sys_fanotify_init
        .long sys_fanotify_mark
        .long sys_prlimit64             /* 340 */
+       .long sys_name_to_handle_at
+       .long sys_open_by_handle_at