Merge branch 'linus' into irq/genirq
[linux-2.6] / arch / sh / include / asm / syscalls_64.h
1 #ifndef __ASM_SH_SYSCALLS_64_H
2 #define __ASM_SH_SYSCALLS_64_H
3
4 #ifdef __KERNEL__
5
6 #include <linux/compiler.h>
7 #include <linux/linkage.h>
8 #include <linux/types.h>
9
10 struct pt_regs;
11
12 asmlinkage int sys_fork(unsigned long r2, unsigned long r3,
13                         unsigned long r4, unsigned long r5,
14                         unsigned long r6, unsigned long r7,
15                         struct pt_regs *pregs);
16 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
17                          unsigned long r4, unsigned long r5,
18                          unsigned long r6, unsigned long r7,
19                          struct pt_regs *pregs);
20 asmlinkage int sys_vfork(unsigned long r2, unsigned long r3,
21                          unsigned long r4, unsigned long r5,
22                          unsigned long r6, unsigned long r7,
23                          struct pt_regs *pregs);
24 asmlinkage int sys_execve(char *ufilename, char **uargv,
25                           char **uenvp, unsigned long r5,
26                           unsigned long r6, unsigned long r7,
27                           struct pt_regs *pregs);
28
29 /* Misc syscall related bits */
30 asmlinkage long long do_syscall_trace_enter(struct pt_regs *regs);
31 asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
32
33 #endif /* __KERNEL__ */
34 #endif /* __ASM_SH_SYSCALLS_64_H */