aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2006-10-09 16:02:25 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-09 17:53:35 -0400
commit6aabd6af4aaf6d794f67226934ad731eb1765e5d (patch)
tree374d9271a2ba17f6cf3557a75792821431aed15a
parentd3696cf7370583b272ff2f09524c9d37a83c71b2 (diff)
[PATCH] m68k: syscall updates
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>
-rw-r--r--arch/m68k/kernel/entry.S5
-rw-r--r--include/asm-m68k/unistd.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
index 34bf7bd126d2..03375414eb56 100644
--- a/arch/m68k/kernel/entry.S
+++ b/arch/m68k/kernel/entry.S
@@ -706,4 +706,9 @@ sys_call_table:
706 .long sys_add_key 706 .long sys_add_key
707 .long sys_request_key /* 280 */ 707 .long sys_request_key /* 280 */
708 .long sys_keyctl 708 .long sys_keyctl
709 .long sys_ioprio_set
710 .long sys_ioprio_get
711 .long sys_inotify_init
712 .long sys_inotify_add_watch /* 285 */
713 .long sys_inotify_rm_watch
709 714
diff --git a/include/asm-m68k/unistd.h b/include/asm-m68k/unistd.h
index 3ab716f0fc18..682bd2fb591d 100644
--- a/include/asm-m68k/unistd.h
+++ b/include/asm-m68k/unistd.h
@@ -284,10 +284,15 @@
284#define __NR_add_key 279 284#define __NR_add_key 279
285#define __NR_request_key 280 285#define __NR_request_key 280
286#define __NR_keyctl 281 286#define __NR_keyctl 281
287#define __NR_ioprio_set 282
288#define __NR_ioprio_get 283
289#define __NR_inotify_init 284
290#define __NR_inotify_add_watch 285
291#define __NR_inotify_rm_watch 286
287 292
288#ifdef __KERNEL__ 293#ifdef __KERNEL__
289 294
290#define NR_syscalls 282 295#define NR_syscalls 287
291#include <linux/err.h> 296#include <linux/err.h>
292 297
293/* user-visible error numbers are in the range -1 - -MAX_ERRNO: see 298/* user-visible error numbers are in the range -1 - -MAX_ERRNO: see