mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@user.it.uu.se>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH][2.6.10-mm3] perfctr syscall numbers in x86-64 ia32-emulation
Date: Wed, 12 Jan 2005 12:45:38 +0100	[thread overview]
Message-ID: <16869.3554.217069.82614@alkaid.it.uu.se> (raw)

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! */
 

                 reply	other threads:[~2005-01-12 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16869.3554.217069.82614@alkaid.it.uu.se \
    --to=mikpe@user.it.uu.se \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®