aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-frv
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-06-23 05:04:13 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 10:42:55 -0400
commitc52c17622e27876c2395f59cfe342497a399de41 (patch)
tree460c2a539927bf13e91a77634d592c1d68cf42c8 /include/asm-frv
parent8ccd05670309084c2dd2003b6840a4becb5acca0 (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/asm-frv')
-rw-r--r--include/asm-frv/unistd.h17
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
463static inline _syscall0(int,pause)
464static inline _syscall0(int,sync)
465static inline _syscall0(pid_t,setsid)
466static inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
467static inline _syscall3(int,read,int,fd,char *,buf,off_t,count)
468static inline _syscall3(off_t,lseek,int,fd,off_t,offset,int,count)
469static inline _syscall1(int,dup,int,fd)
470static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) 463static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp)
471static inline _syscall3(int,open,const char *,file,int,flag,int,mode)
472static inline _syscall1(int,close,int,fd)
473static inline _syscall1(int,_exit,int,exitcode)
474static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
475static inline _syscall1(int,delete_module,const char *,name)
476
477static 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