[PATCH 522] M68k: Add 3 missing syscalls

From: Geert Uytterhoeven
Date: Thu Nov 18 2004 - 16:00:27 EST


M68k: Add 3 missing syscalls (up to 2.6.10-rc1)

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

--- linux-2.6.10-rc1/arch/m68k/kernel/entry.S 2004-10-24 22:21:53.000000000 +0200
+++ linux-m68k-2.6.10-rc1/arch/m68k/kernel/entry.S 2004-10-30 13:43:12.000000000 +0200
@@ -706,4 +706,7 @@ sys_call_table:
.long sys_mq_getsetattr
.long sys_waitid
.long sys_ni_syscall /* for sys_vserver */
+ .long sys_add_key
+ .long sys_request_key /* 280 */
+ .long sys_keyctl

--- linux-2.6.10-rc1/include/asm-m68k/unistd.h 2004-10-24 22:21:53.000000000 +0200
+++ linux-m68k-2.6.10-rc1/include/asm-m68k/unistd.h 2004-10-30 13:43:35.000000000 +0200
@@ -281,8 +281,11 @@
#define __NR_mq_getsetattr 276
#define __NR_waitid 277
#define __NR_vserver 278
+#define __NR_add_key 279
+#define __NR_request_key 280
+#define __NR_keyctl 281

-#define NR_syscalls 279
+#define NR_syscalls 282

/* user-visible error numbers are in the range -1 - -124: see
<asm-m68k/errno.h> */

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/