SH: inotify and ioprio syscalls
PATCH 1/1 SH: inotify and ioprio syscalls
Add inotify and ioprio syscall stubs to SH.
Robert Love
Signed-off-by Robert Love <[email protected]>
arch/sh/kernel/entry.S | 5 +++++ include/asm-sh/unistd.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
arch/sh/kernel/entry.S +5 -0
@@ -1145,5 +1145,10 @@ .long sys_add_key /* 285 */ .long sys_request_key .long sys_keyctl + .long sys_ioprio_set + .long sys_ioprio_get + .long sys_inotify_init /* 290 */ + .long sys_inotify_add_watch + .long sys_inotify_rm_watch /* End of entry.S */
include/asm-sh/unistd.h +7 -1
@@ -295,8 +295,14 @@#define __NR_add_key 285#define __NR_request_key 286#define __NR_keyctl 287 +#define __NR_ioprio_set 288 +#define __NR_ioprio_get 289 +#define __NR_inotify_init 290 +#define __NR_inotify_add_watch 291 +#define __NR_inotify_rm_watch 292 -#define NR_syscalls 288 + +#define NR_syscalls 293/* user-visible error numbers are in the range -1 - -124: see <asm-sh/errno.h> */
PATCH 1/1 SH64: inotify and ioprio syscalls
Add inotify and ioprio syscall stubs to SH64.
Robert Love
Signed-off-by Robert Love <[email protected]>
arch/sh64/kernel/syscalls.S | 5 +++++ include/asm-sh64/unistd.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
arch/sh64/kernel/syscalls.S +5 -0
@@ -342,4 +342,9 @@ .long sys_add_key .long sys_request_key .long sys_keyctl /* 315 */ + .long sys_ioprio_set + .long sys_ioprio_get + .long sys_inotify_init + .long sys_inotify_add_watch + .long sys_inotify_rm_watch /* 320 */
include/asm-sh64/unistd.h +6 -1
@@ -338,8 +338,13 @@#define __NR_add_key 313#define __NR_request_key 314#define __NR_keyctl 315 +#define __NR_ioprio_set 316 +#define __NR_ioprio_get 317 +#define __NR_inotify_init 318 +#define __NR_inotify_add_watch 319 +#define __NR_inotify_rm_watch 320 -#define NR_syscalls 316 +#define NR_syscalls 321/* user-visible error numbers are in the range -1 - -125: see <asm-sh64/errno.h> */
Quoted 11 lines · Robert Love
Add inotify and ioprio syscall stubs to SH.
Robert Love
Signed-off-by Robert Love <[email protected]>arch/sh/kernel/entry.S | 5 +++++ include/asm-sh/unistd.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
Quoted 11 lines · Robert Love
Add inotify and ioprio syscall stubs to SH64.
Robert Love
Signed-off-by Robert Love <[email protected]>arch/sh64/kernel/syscalls.S | 5 +++++ include/asm-sh64/unistd.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
Both look good, thanks.
Acked-by Paul Mundt <[email protected]>