Skip to content

Commit

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

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 dc59250 commit f2926b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions arch/sh/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1145,5 +1145,10 @@ ENTRY(sys_call_table)
.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 */
8 changes: 7 additions & 1 deletion include/asm-sh/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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> */

Expand Down

0 comments on commit f2926b7

Please sign in to comment.