perfctr syscall numbers in x86-64 ia32-emulation
PATCH 1/1 perfctr syscall numbers in x86-64 ia32-emulation
Andrew,
2.6.10-mm3 reverted the perfctr syscall numbers in x86-64's ia32-emulation to an older definition when sys_perfctr_info() still existed. This patch fixes that.
Signed-off-by Mikael Petterson <[email protected]>
include/asm-x86_64/ia32_unistd.h renamed from include/asm-x86_64/ia32_unistd.h.~1~ +4 -4
@@ -295,10 +295,10 @@#define __NR_ia32_request_key 287#define __NR_ia32_keyctl 288#define __NR_ia32_vperfctr_open 289 -#define __NR_ia32_vperfctr_control (__NR_ia32_perfctr_info+1) -#define __NR_ia32_vperfctr_unlink (__NR_ia32_perfctr_info+2) -#define __NR_ia32_vperfctr_iresume (__NR_ia32_perfctr_info+3) -#define __NR_ia32_vperfctr_read (__NR_ia32_perfctr_info+4) +#define __NR_ia32_vperfctr_control (__NR_ia32_vperfctr_open+1) +#define __NR_ia32_vperfctr_unlink (__NR_ia32_vperfctr_open+2) +#define __NR_ia32_vperfctr_iresume (__NR_ia32_vperfctr_open+3) +#define __NR_ia32_vperfctr_read (__NR_ia32_vperfctr_open+4)#define IA32_NR_syscalls 294/* must be > than biggest syscall! */