Skip to content

Commit

Permalink
[PATCH] SH64: inotify and ioprio syscalls
Browse files Browse the repository at this point in the history
Add inotify and ioprio syscall stubs to SH64.

Signed-off-by: Robert Love <rml@novell.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Robert Love authored and Linus Torvalds committed Aug 18, 2005
1 parent f2926b7 commit 60d7603
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions arch/sh64/kernel/syscalls.S
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,9 @@ sys_call_table:
.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 */

7 changes: 6 additions & 1 deletion include/asm-sh64/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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> */

Expand Down

0 comments on commit 60d7603

Please sign in to comment.