Skip to content

Commit

Permalink
[PATCH] m68k: syscall updates
Browse files Browse the repository at this point in the history
Add some missing system calls (recent udev needs them)

Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
geertu authored and Linus Torvalds committed Oct 9, 2006
1 parent d3696cf commit 6aabd6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions arch/m68k/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -706,4 +706,9 @@ sys_call_table:
.long sys_add_key
.long sys_request_key /* 280 */
.long sys_keyctl
.long sys_ioprio_set
.long sys_ioprio_get
.long sys_inotify_init
.long sys_inotify_add_watch /* 285 */
.long sys_inotify_rm_watch

7 changes: 6 additions & 1 deletion include/asm-m68k/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,15 @@
#define __NR_add_key 279
#define __NR_request_key 280
#define __NR_keyctl 281
#define __NR_ioprio_set 282
#define __NR_ioprio_get 283
#define __NR_inotify_init 284
#define __NR_inotify_add_watch 285
#define __NR_inotify_rm_watch 286

#ifdef __KERNEL__

#define NR_syscalls 282
#define NR_syscalls 287
#include <linux/err.h>

/* user-visible error numbers are in the range -1 - -MAX_ERRNO: see
Expand Down

0 comments on commit 6aabd6a

Please sign in to comment.