Skip to contentSkip to conversation

m68k syscall updates

PATCH New Geert Uytterhoeven 1 participant 1 message Oct 9, 2006 m68k architecture

lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/2 m68k syscall updates

Add some missing system calls (recent udev needs them)

---
 arch/m68k/kernel/entry.S  |    5 +++++
 include/asm-m68k/unistd.h |    7 ++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
arch/m68k/kernel/entry.S +5 -0
@@ -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
 
include/asm-m68k/unistd.h +6 -1
@@ -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 -- [email protected]

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