Skip to contentSkip to conversation

perfctr sysfs update 2/4: x86

PATCH New Mikael Pettersson 1 participant 1 message Dec 2, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perfctr sysfs update 2/4: x86

Perfctr sysfs update part 2/4:
- Remove sys_perfctr_info() from x86.

 arch/i386/kernel/entry.S  |    5 ++---
 include/asm-i386/unistd.h |   13 ++++++-------
 2 files changed, 8 insertions(+), 10 deletions(-)
arch/i386/kernel/entry.S +2 -3
diff -rupN linux-2.6.10-rc2-mm4/arch/i386/kernel/entry.S linux-2.6.10-rc2-mm4.perfctr-x86-update/arch/i386/kernel/entry.S
@@ -900,9 +900,8 @@ ENTRY(sys_call_table)
 	.long sys_add_key
 	.long sys_request_key
 	.long sys_keyctl
-	.long sys_perfctr_info
-	.long sys_vperfctr_open		/* 290 */
-	.long sys_vperfctr_control
+	.long sys_vperfctr_open
+	.long sys_vperfctr_control	/* 290 */
 	.long sys_vperfctr_unlink
 	.long sys_vperfctr_iresume
 	.long sys_vperfctr_read
include/asm-i386/unistd.h +6 -7
diff -rupN linux-2.6.10-rc2-mm4/include/asm-i386/unistd.h linux-2.6.10-rc2-mm4.perfctr-x86-update/include/asm-i386/unistd.h
@@ -294,14 +294,13 @@
 #define __NR_add_key		286
 #define __NR_request_key	287
 #define __NR_keyctl		288
-#define __NR_perfctr_info	289
-#define __NR_vperfctr_open	(__NR_perfctr_info+1)
-#define __NR_vperfctr_control	(__NR_perfctr_info+2)
-#define __NR_vperfctr_unlink	(__NR_perfctr_info+3)
-#define __NR_vperfctr_iresume	(__NR_perfctr_info+4)
-#define __NR_vperfctr_read	(__NR_perfctr_info+5)
+#define __NR_vperfctr_open	289
+#define __NR_vperfctr_control	(__NR_vperfctr_open+1)
+#define __NR_vperfctr_unlink	(__NR_vperfctr_open+2)
+#define __NR_vperfctr_iresume	(__NR_vperfctr_open+3)
+#define __NR_vperfctr_read	(__NR_vperfctr_open+4)
 
-#define NR_syscalls 295
+#define NR_syscalls 294
 
 /*
  * user-visible error numbers are in the range -1 - -128: see