* [PATCH][2.6.10-mm3] perfctr syscall numbers in x86-64 ia32-emulation
@ 2005-01-12 11:45 Mikael Pettersson
0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2005-01-12 11:45 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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 <mikpe@csd.uu.se>
--- linux-2.6.10-mm3/include/asm-x86_64/ia32_unistd.h.~1~ 2005-01-11 23:35:17.000000000 +0100
+++ linux-2.6.10-mm3/include/asm-x86_64/ia32_unistd.h 2005-01-12 00:33:25.000000000 +0100
@@ -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! */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-12 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 11:45 [PATCH][2.6.10-mm3] perfctr syscall numbers in x86-64 ia32-emulation Mikael Pettersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).