Commit fd8ebac3 authored by Paul Mundt's avatar Paul Mundt Committed by Linus Torvalds

[PATCH] sh: syscall updates

This adds the new syscalls (waitid/add_key/request_key/keyctl).
Signed-off-by: default avatarPaul Mundt <paul.mundt@nokia.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ba7a00c3
......@@ -1140,5 +1140,10 @@ ENTRY(sys_call_table)
.long sys_mq_timedreceive /* 280 */
.long sys_mq_notify
.long sys_mq_getsetattr
.long sys_ni_syscall /* Reserved for kexec */
.long sys_waitid
.long sys_add_key /* 285 */
.long sys_request_key
.long sys_keyctl
/* End of entry.S */
......@@ -290,8 +290,13 @@
#define __NR_mq_timedreceive (__NR_mq_open+3)
#define __NR_mq_notify (__NR_mq_open+4)
#define __NR_mq_getsetattr (__NR_mq_open+5)
#define __NR_sys_kexec_load 283
#define __NR_waitid 284
#define __NR_add_key 285
#define __NR_request_key 286
#define __NR_keyctl 287
#define NR_syscalls 283
#define NR_syscalls 288
/* user-visible error numbers are in the range -1 - -124: see <asm-sh/errno.h> */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment