Browse Source

parisc: wire sys_perf_counter_open to sys_ni_syscall

Reserve a syscall slot for sys_perf_counter_open.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Kyle McMartin 16 years ago
parent
commit
538e23615f
2 changed files with 3 additions and 1 deletions
  1. 2 1
      arch/parisc/include/asm/unistd.h
  2. 1 0
      arch/parisc/kernel/syscall_table.S

+ 2 - 1
arch/parisc/include/asm/unistd.h

@@ -810,8 +810,9 @@
 #define __NR_preadv		(__NR_Linux + 315)
 #define __NR_pwritev		(__NR_Linux + 316)
 #define __NR_rt_tgsigqueueinfo	(__NR_Linux + 317)
+#define __NR_perf_counter_open	(__NR_Linux + 318)
 
-#define __NR_Linux_syscalls	(__NR_rt_tgsigqueueinfo + 1)
+#define __NR_Linux_syscalls	(__NR_perf_counter_open + 1)
 
 
 #define __IGNORE_select		/* newselect */

+ 1 - 0
arch/parisc/kernel/syscall_table.S

@@ -416,6 +416,7 @@
 	ENTRY_COMP(preadv)		/* 315 */
 	ENTRY_COMP(pwritev)
 	ENTRY_COMP(rt_tgsigqueueinfo)
+	ENTRY_SAME(ni_syscall)
 
 	/* Nothing yet */