diff options
Diffstat (limited to 'include/asm-m32r/unistd.h')
-rw-r--r-- | include/asm-m32r/unistd.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/asm-m32r/unistd.h b/include/asm-m32r/unistd.h index 5c6a9ac6cf1a..95aa34298d82 100644 --- a/include/asm-m32r/unistd.h +++ b/include/asm-m32r/unistd.h | |||
@@ -424,43 +424,6 @@ __syscall_return(type,__res); \ | |||
424 | #define __ARCH_WANT_SYS_OLDUMOUNT | 424 | #define __ARCH_WANT_SYS_OLDUMOUNT |
425 | #define __ARCH_WANT_SYS_RT_SIGACTION | 425 | #define __ARCH_WANT_SYS_RT_SIGACTION |
426 | 426 | ||
427 | #ifdef __KERNEL_SYSCALLS__ | ||
428 | |||
429 | #include <linux/compiler.h> | ||
430 | #include <linux/types.h> | ||
431 | #include <linux/linkage.h> | ||
432 | #include <asm/ptrace.h> | ||
433 | |||
434 | /* | ||
435 | * we need this inline - forking from kernel space will result | ||
436 | * in NO COPY ON WRITE (!!!), until an execve is executed. This | ||
437 | * is no problem, but for the stack. This is handled by not letting | ||
438 | * main() use the stack at all after fork(). Thus, no function | ||
439 | * calls - which means inline code for fork too, as otherwise we | ||
440 | * would use the stack upon exit from 'fork()'. | ||
441 | * | ||
442 | * Actually only pause and fork are needed inline, so that there | ||
443 | * won't be any messing with the stack from main(), but we define | ||
444 | * some others too. | ||
445 | */ | ||
446 | static __inline__ _syscall3(int,execve,const char *,file,char **,argv,char **,envp) | ||
447 | |||
448 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, | ||
449 | unsigned long prot, unsigned long flags, | ||
450 | unsigned long fd, unsigned long pgoff); | ||
451 | asmlinkage int sys_execve(struct pt_regs regs); | ||
452 | asmlinkage int sys_clone(struct pt_regs regs); | ||
453 | asmlinkage int sys_fork(struct pt_regs regs); | ||
454 | asmlinkage int sys_vfork(struct pt_regs regs); | ||
455 | asmlinkage int sys_pipe(unsigned long __user *fildes); | ||
456 | struct sigaction; | ||
457 | asmlinkage long sys_rt_sigaction(int sig, | ||
458 | const struct sigaction __user *act, | ||
459 | struct sigaction __user *oact, | ||
460 | size_t sigsetsize); | ||
461 | |||
462 | #endif /* __KERNEL_SYSCALLS__ */ | ||
463 | |||
464 | /* | 427 | /* |
465 | * "Conditional" syscalls | 428 | * "Conditional" syscalls |
466 | * | 429 | * |