aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/syscalls.h')
-rw-r--r--arch/microblaze/include/asm/syscalls.h39
1 files changed, 3 insertions, 36 deletions
diff --git a/arch/microblaze/include/asm/syscalls.h b/arch/microblaze/include/asm/syscalls.h
index ea23843e2c2..720761cc741 100644
--- a/arch/microblaze/include/asm/syscalls.h
+++ b/arch/microblaze/include/asm/syscalls.h
@@ -1,41 +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> 3asmlinkage 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>
11asmlinkage int sys_ipc(uint call, int first, int second,
12 int third, void *ptr, long fifth);
13 7
14struct pt_regs;
15asmlinkage int sys_vfork(struct pt_regs *regs);
16asmlinkage int sys_clone(int flags, unsigned long stack, struct pt_regs *regs);
17asmlinkage int sys_execve(char __user *filenamei, char __user *__user *argv,
18 char __user *__user *envp, struct pt_regs *regs);
19
20asmlinkage 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
24asmlinkage 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 */
29asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize,
30 struct pt_regs *regs);
31
32asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
33 struct sigaction __user *oact, size_t sigsetsize);
34
35asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
36 struct pt_regs *regs);
37
38asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
39
40#endif /* __KERNEL__ */
41#endif /* __ASM_MICROBLAZE_SYSCALLS_H */ 8#endif /* __ASM_MICROBLAZE_SYSCALLS_H */