linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Delete x86-64 __IGNORE_getcpu?
@ 2011-08-24 13:34 H.J. Lu
  2011-08-24 14:19 ` [PATCH] x86-64: Remove __IGNORE_getcpu Andy Lutomirski
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2011-08-24 13:34 UTC (permalink / raw)
  To: H. Peter Anvin, LKML

Hi,

arch/x86/include/asm/unistd_64.h has

#define __IGNORE_getcpu         /* implemented as a vsyscall */

But there are

#define __NR_getcpu                             309
__SYSCALL(__NR_getcpu, sys_getcpu)

Shouldn't __IGNORE_getcpu be deleted?

-- 
H.J.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] x86-64: Remove __IGNORE_getcpu
  2011-08-24 13:34 Delete x86-64 __IGNORE_getcpu? H.J. Lu
@ 2011-08-24 14:19 ` Andy Lutomirski
  2011-08-24 20:28   ` [tip:x86/cleanups] x86-64, unistd: Remove bogus __IGNORE_getcpu tip-bot for Andy Lutomirski
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Lutomirski @ 2011-08-24 14:19 UTC (permalink / raw)
  To: H.J. Lu; +Cc: H. Peter Anvin, LKML, Andy Lutomirski

The change:

commit fce8dc06423d6fb2709469dc5c55b04e09c1d126
Author: Andy Lutomirski <luto@mit.edu>
Date:   Wed Aug 10 11:15:31 2011 -0400

    x86-64: Wire up getcpu syscall

added getcpu as a real syscall, so we shouldn't ignore it any more.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Reported-by: H.J. Lu <hjl.tools@gmail.com>
---

My bad.

 arch/x86/include/asm/unistd_64.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/unistd_64.h b/arch/x86/include/asm/unistd_64.h
index d92641c..940d720 100644
--- a/arch/x86/include/asm/unistd_64.h
+++ b/arch/x86/include/asm/unistd_64.h
@@ -624,7 +624,6 @@ __SYSCALL(__NR_vmsplice, sys_vmsplice)
 __SYSCALL(__NR_move_pages, sys_move_pages)
 #define __NR_utimensat				280
 __SYSCALL(__NR_utimensat, sys_utimensat)
-#define __IGNORE_getcpu		/* implemented as a vsyscall */
 #define __NR_epoll_pwait			281
 __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
 #define __NR_signalfd				282
-- 
1.7.6


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip:x86/cleanups] x86-64, unistd: Remove bogus __IGNORE_getcpu
  2011-08-24 14:19 ` [PATCH] x86-64: Remove __IGNORE_getcpu Andy Lutomirski
@ 2011-08-24 20:28   ` tip-bot for Andy Lutomirski
  0 siblings, 0 replies; 3+ messages in thread
From: tip-bot for Andy Lutomirski @ 2011-08-24 20:28 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, luto, tglx, hpa, hjl.tools

Commit-ID:  7e49b1c8c6d64f55ac83e1f5901b22fa9e51ab80
Gitweb:     http://git.kernel.org/tip/7e49b1c8c6d64f55ac83e1f5901b22fa9e51ab80
Author:     Andy Lutomirski <luto@mit.edu>
AuthorDate: Wed, 24 Aug 2011 10:19:44 -0400
Committer:  H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Wed, 24 Aug 2011 10:23:51 -0700

x86-64, unistd: Remove bogus __IGNORE_getcpu

The change:

commit fce8dc06423d6fb2709469dc5c55b04e09c1d126
Author: Andy Lutomirski <luto@mit.edu>
Date:   Wed Aug 10 11:15:31 2011 -0400

    x86-64: Wire up getcpu syscall

added getcpu as a real syscall, so we shouldn't ignore it any more.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Link: http://lkml.kernel.org/r/b4cb60ef45db3a675a0e2b9d51bcb022b0a9ab9c.1314195481.git.luto@mit.edu
Reported-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
 arch/x86/include/asm/unistd_64.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/unistd_64.h b/arch/x86/include/asm/unistd_64.h
index d92641c..940d720 100644
--- a/arch/x86/include/asm/unistd_64.h
+++ b/arch/x86/include/asm/unistd_64.h
@@ -624,7 +624,6 @@ __SYSCALL(__NR_vmsplice, sys_vmsplice)
 __SYSCALL(__NR_move_pages, sys_move_pages)
 #define __NR_utimensat				280
 __SYSCALL(__NR_utimensat, sys_utimensat)
-#define __IGNORE_getcpu		/* implemented as a vsyscall */
 #define __NR_epoll_pwait			281
 __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
 #define __NR_signalfd				282

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-24 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 13:34 Delete x86-64 __IGNORE_getcpu? H.J. Lu
2011-08-24 14:19 ` [PATCH] x86-64: Remove __IGNORE_getcpu Andy Lutomirski
2011-08-24 20:28   ` [tip:x86/cleanups] x86-64, unistd: Remove bogus __IGNORE_getcpu tip-bot for Andy Lutomirski

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).