[PATCH 1/2] m68k syscall updates

From: Geert Uytterhoeven
Date: Mon Oct 09 2006 - 16:03:03 EST


Add some missing system calls (recent udev needs them)

Signed-Off-By: Kars de Jong <jongk@xxxxxxxxxxxxxx>
Signed-Off-By: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

---
arch/m68k/kernel/entry.S | 5 +++++
include/asm-m68k/unistd.h | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)

--- linux/arch/m68k/kernel/entry.S 2006/01/31 00:57:35 1.26
+++ linux/arch/m68k/kernel/entry.S 2006/02/11 16:28:36 1.27
@@ -707,4 +707,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

--- linux/include/asm-m68k/unistd.h 2006/01/14 23:16:33 1.1.1.14
+++ linux/include/asm-m68k/unistd.h 2006/02/11 16:28:36 1.10
@@ -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 - -124: see

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/