Linux 2.6.28-rc5
[cris-mirror.git] / arch / sh / include / asm / syscalls_64.h
blob751fd88113649cbc120ab539cad69c3ff23e7ac2
1 #ifndef __ASM_SH_SYSCALLS_64_H
2 #define __ASM_SH_SYSCALLS_64_H
4 #ifdef __KERNEL__
6 #include <linux/compiler.h>
7 #include <linux/linkage.h>
8 #include <linux/types.h>
10 struct pt_regs;
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);
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);
33 #endif /* __KERNEL__ */
34 #endif /* __ASM_SH_SYSCALLS_64_H */