public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_*
@ 2006-04-01 20:54 OGAWA Hirofumi
  2006-04-03  7:28 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: OGAWA Hirofumi @ 2006-04-01 20:54 UTC (permalink / raw)
  To: Jens Axboe, Andrew Morton; +Cc: linux-kernel

On i386, we don't use sys_ prefix for __NR_*. This patch removes it.
[FWIW, _syscall*() macros will generate foo() instead of sys_foo().]

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
---

 include/asm-i386/unistd.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN include/asm-i386/unistd.h~remove-sys_-prefix include/asm-i386/unistd.h
--- linux-2.6/include/asm-i386/unistd.h~remove-sys_-prefix	2006-04-02 05:23:57.000000000 +0900
+++ linux-2.6-hirofumi/include/asm-i386/unistd.h	2006-04-02 05:24:10.000000000 +0900
@@ -318,8 +318,8 @@
 #define __NR_unshare		310
 #define __NR_set_robust_list	311
 #define __NR_get_robust_list	312
-#define __NR_sys_splice		313
-#define __NR_sys_sync_file_range 314
+#define __NR_splice		313
+#define __NR_sync_file_range	314
 
 #define NR_syscalls 315
 
_

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

* Re: [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_*
  2006-04-01 20:54 [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_* OGAWA Hirofumi
@ 2006-04-03  7:28 ` Jens Axboe
  2006-04-03  7:32   ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2006-04-03  7:28 UTC (permalink / raw)
  To: OGAWA Hirofumi; +Cc: Andrew Morton, linux-kernel

On Sun, Apr 02 2006, OGAWA Hirofumi wrote:
> On i386, we don't use sys_ prefix for __NR_*. This patch removes it.
> [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]
> 
> Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

Thanks, I'll just shove that into the splice branch.

-- 
Jens Axboe


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

* Re: [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_*
  2006-04-03  7:28 ` Jens Axboe
@ 2006-04-03  7:32   ` David S. Miller
  2006-04-03  7:37     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2006-04-03  7:32 UTC (permalink / raw)
  To: axboe; +Cc: hirofumi, akpm, linux-kernel

From: Jens Axboe <axboe@suse.de>
Date: Mon, 3 Apr 2006 09:28:57 +0200

> On Sun, Apr 02 2006, OGAWA Hirofumi wrote:
> > On i386, we don't use sys_ prefix for __NR_*. This patch removes it.
> > [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]
> > 
> > Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
> 
> Thanks, I'll just shove that into the splice branch.

Please update the other include/asm-*/unistd.h files which
use the same sys_* name.

Thanks.

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

* Re: [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_*
  2006-04-03  7:32   ` David S. Miller
@ 2006-04-03  7:37     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2006-04-03  7:37 UTC (permalink / raw)
  To: David S. Miller; +Cc: hirofumi, akpm, linux-kernel

On Mon, Apr 03 2006, David S. Miller wrote:
> From: Jens Axboe <axboe@suse.de>
> Date: Mon, 3 Apr 2006 09:28:57 +0200
> 
> > On Sun, Apr 02 2006, OGAWA Hirofumi wrote:
> > > On i386, we don't use sys_ prefix for __NR_*. This patch removes it.
> > > [FWIW, _syscall*() macros will generate foo() instead of sys_foo().]
> > > 
> > > Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
> > 
> > Thanks, I'll just shove that into the splice branch.
> 
> Please update the other include/asm-*/unistd.h files which
> use the same sys_* name.

Will do.

-- 
Jens Axboe


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

end of thread, other threads:[~2006-04-03  7:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 20:54 [PATCH] Remove sys_ prefix of new syscalls from __NR_sys_* OGAWA Hirofumi
2006-04-03  7:28 ` Jens Axboe
2006-04-03  7:32   ` David S. Miller
2006-04-03  7:37     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox