* [patch 3/3] x86_64: remove dup syscall
@ 2005-03-30 17:32 blaisorblade
2005-03-30 20:02 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: blaisorblade @ 2005-03-30 17:32 UTC (permalink / raw)
To: torvalds; +Cc: akpm, linux-kernel, blaisorblade
Remove duplicated syscall entry.
This likely affects compilation with older GCC's (2.95.x), since in
arch/x86_64/kernel/syscall.c this will result in assigning twice the same
array element.
By experience, this works with newer GCC's but not with 2.95.3/4.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---
linux-2.6.11-paolo/include/asm-x86_64/unistd.h | 2 --
1 files changed, 2 deletions(-)
diff -puN include/asm-x86_64/unistd.h~remove-dup-sc include/asm-x86_64/unistd.h
--- linux-2.6.11/include/asm-x86_64/unistd.h~remove-dup-sc 2005-03-29 19:52:55.000000000 +0200
+++ linux-2.6.11-paolo/include/asm-x86_64/unistd.h 2005-03-29 19:53:12.000000000 +0200
@@ -533,8 +533,6 @@ __SYSCALL(__NR_tgkill, sys_tgkill)
__SYSCALL(__NR_utimes, sys_utimes)
#define __NR_vserver 236
__SYSCALL(__NR_vserver, sys_ni_syscall)
-#define __NR_vserver 236
-__SYSCALL(__NR_vserver, sys_ni_syscall)
#define __NR_mbind 237
__SYSCALL(__NR_mbind, sys_mbind)
#define __NR_set_mempolicy 238
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 3/3] x86_64: remove dup syscall
2005-03-30 17:32 [patch 3/3] x86_64: remove dup syscall blaisorblade
@ 2005-03-30 20:02 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2005-03-30 20:02 UTC (permalink / raw)
To: blaisorblade; +Cc: torvalds, akpm, linux-kernel
On Wed, Mar 30, 2005 at 07:32:18PM +0200, blaisorblade@yahoo.it wrote:
>
> Remove duplicated syscall entry.
>
> This likely affects compilation with older GCC's (2.95.x), since in
> arch/x86_64/kernel/syscall.c this will result in assigning twice the same
> array element.
>
> By experience, this works with newer GCC's but not with 2.95.3/4.
gcc 3.0 was the first release to support x86-64.
Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-30 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 17:32 [patch 3/3] x86_64: remove dup syscall blaisorblade
2005-03-30 20:02 ` Dave Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.