diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-23 05:04:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:55 -0400 |
commit | c52c17622e27876c2395f59cfe342497a399de41 (patch) | |
tree | 460c2a539927bf13e91a77634d592c1d68cf42c8 /include | |
parent | 8ccd05670309084c2dd2003b6840a4becb5acca0 (diff) |
[PATCH] frv: clean frv unistd.h
Remove _syscall invocations that aren't used in the kernel.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-frv/unistd.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h index 91a171decfce..b80dbd839475 100644 --- a/include/asm-frv/unistd.h +++ b/include/asm-frv/unistd.h | |||
@@ -460,24 +460,7 @@ type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg | |||
460 | * some others too. | 460 | * some others too. |
461 | */ | 461 | */ |
462 | #define __NR__exit __NR_exit | 462 | #define __NR__exit __NR_exit |
463 | static inline _syscall0(int,pause) | ||
464 | static inline _syscall0(int,sync) | ||
465 | static inline _syscall0(pid_t,setsid) | ||
466 | static inline _syscall3(int,write,int,fd,const char *,buf,off_t,count) | ||
467 | static inline _syscall3(int,read,int,fd,char *,buf,off_t,count) | ||
468 | static inline _syscall3(off_t,lseek,int,fd,off_t,offset,int,count) | ||
469 | static inline _syscall1(int,dup,int,fd) | ||
470 | static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) | 463 | static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) |
471 | static inline _syscall3(int,open,const char *,file,int,flag,int,mode) | ||
472 | static inline _syscall1(int,close,int,fd) | ||
473 | static inline _syscall1(int,_exit,int,exitcode) | ||
474 | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) | ||
475 | static inline _syscall1(int,delete_module,const char *,name) | ||
476 | |||
477 | static inline pid_t wait(int * wait_stat) | ||
478 | { | ||
479 | return waitpid(-1,wait_stat,0); | ||
480 | } | ||
481 | 464 | ||
482 | #endif /* __KERNEL_SYSCALLS__ */ | 465 | #endif /* __KERNEL_SYSCALLS__ */ |
483 | 466 | ||