diff options
Diffstat (limited to 'arch/microblaze/include/asm/syscalls.h')
| -rw-r--r-- | arch/microblaze/include/asm/syscalls.h | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/arch/microblaze/include/asm/syscalls.h b/arch/microblaze/include/asm/syscalls.h index ddea9eb31f8d..720761cc741f 100644 --- a/arch/microblaze/include/asm/syscalls.h +++ b/arch/microblaze/include/asm/syscalls.h | |||
| @@ -1,48 +1,8 @@ | |||
| 1 | #ifndef __ASM_MICROBLAZE_SYSCALLS_H | 1 | #ifndef __ASM_MICROBLAZE_SYSCALLS_H |
| 2 | #define __ASM_MICROBLAZE_SYSCALLS_H | ||
| 3 | #ifdef __KERNEL__ | ||
| 4 | 2 | ||
| 5 | #include <linux/compiler.h> | 3 | asmlinkage long sys_clone(int flags, unsigned long stack, struct pt_regs *regs); |
| 6 | #include <linux/linkage.h> | 4 | #define sys_clone sys_clone |
| 7 | #include <linux/types.h> | ||
| 8 | #include <linux/signal.h> | ||
| 9 | 5 | ||
| 10 | /* FIXME will be removed */ | 6 | #include <asm-generic/syscalls.h> |
| 11 | asmlinkage int sys_ipc(uint call, int first, int second, | ||
| 12 | int third, void *ptr, long fifth); | ||
| 13 | 7 | ||
| 14 | struct pt_regs; | ||
| 15 | asmlinkage int sys_vfork(struct pt_regs *regs); | ||
| 16 | asmlinkage int sys_clone(int flags, unsigned long stack, struct pt_regs *regs); | ||
| 17 | asmlinkage int sys_execve(char __user *filenamei, char __user *__user *argv, | ||
| 18 | char __user *__user *envp, struct pt_regs *regs); | ||
| 19 | |||
| 20 | asmlinkage unsigned long sys_mmap2(unsigned long addr, size_t len, | ||
| 21 | unsigned long prot, unsigned long flags, | ||
| 22 | unsigned long fd, unsigned long pgoff); | ||
| 23 | |||
| 24 | asmlinkage unsigned long sys_mmap(unsigned long addr, size_t len, | ||
| 25 | unsigned long prot, unsigned long flags, | ||
| 26 | unsigned long fd, off_t offset); | ||
| 27 | |||
| 28 | /* from signal.c */ | ||
| 29 | asmlinkage int sys_sigsuspend(old_sigset_t mask, struct pt_regs *regs); | ||
| 30 | |||
| 31 | asmlinkage int sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize, | ||
| 32 | struct pt_regs *regs); | ||
| 33 | |||
| 34 | asmlinkage int sys_sigaction(int sig, const struct old_sigaction *act, | ||
| 35 | struct old_sigaction *oact); | ||
| 36 | |||
| 37 | asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act, | ||
| 38 | struct sigaction __user *oact, size_t sigsetsize); | ||
| 39 | |||
| 40 | asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, | ||
| 41 | struct pt_regs *regs); | ||
| 42 | |||
| 43 | asmlinkage int sys_sigreturn(struct pt_regs *regs); | ||
| 44 | |||
| 45 | asmlinkage int sys_rt_sigreturn(struct pt_regs *regs); | ||
| 46 | |||
| 47 | #endif /* __KERNEL__ */ | ||
| 48 | #endif /* __ASM_MICROBLAZE_SYSCALLS_H */ | 8 | #endif /* __ASM_MICROBLAZE_SYSCALLS_H */ |
