perfctr x86_64 native syscall numbers fix
PATCH 1/1 perfctr x86_64 native syscall numbers fix
Andrew,
2.6.10-mm3 added some syscalls to x86-64, but the preliminary syscall numbers for perfctr weren't adjusted, causing an overlap. Fix below.
Signed-off-by Mikael Pettersson <[email protected]>
include/asm-x86_64/unistd.h renamed from include/asm-x86_64/unistd.h.~1~ +1 -1
@@ -562,7 +562,7 @@ __SYSCALL(__NR_add_key, sys_add_key) __SYSCALL(__NR_request_key, sys_request_key)#define __NR_keyctl 250 __SYSCALL(__NR_keyctl, sys_keyctl) -#define __NR_vperfctr_open 248 +#define __NR_vperfctr_open 251 __SYSCALL(__NR_vperfctr_open, sys_vperfctr_open)#define __NR_vperfctr_control (__NR_vperfctr_open+1)__SYSCALL (__NR_vperfctr_control, sys_vperfctr_control)