Skip to contentSkip to conversation

MN10300: Wire up new syscalls

PATCH New David Howells 1 participant 1 message Jun 30, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MN10300: Wire up new syscalls

Wire up new syscalls rt_tgsigqueueinfo and perf_counter_open.

---

 arch/mn10300/include/asm/unistd.h |    4 +++-
 arch/mn10300/kernel/entry.S       |    2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)
arch/mn10300/include/asm/unistd.h +3 -1
index fef5b43..fad6861 100644
@@ -346,10 +346,12 @@
 #define __NR_inotify_init1	333
 #define __NR_preadv		334
 #define __NR_pwritev		335
+#define __NR_rt_tgsigqueueinfo	336
+#define __NR_perf_counter_open	337
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 326
+#define NR_syscalls 338
 
 /*
  * specify the deprecated syscalls we want to support on this arch
arch/mn10300/kernel/entry.S +2 -0
index 7408a27..e0d2563 100644
@@ -722,6 +722,8 @@ ENTRY(sys_call_table)
 	.long sys_inotify_init1
 	.long sys_preadv
 	.long sys_pwritev		/* 335 */
+	.long sys_rt_tgsigqueueinfo
+	.long sys_perf_counter_open
 
 
 nr_syscalls=(.-sys_call_table)/4