veth: Dont kfree_skb() after dev_forward_skb()
[linux/fpc-iii.git] / include / asm-generic / syscalls.h
blobdf84e3b04555f495356dfb15e74dfcd3806b1523
1 #ifndef __ASM_GENERIC_SYSCALLS_H
2 #define __ASM_GENERIC_SYSCALLS_H
4 #include <linux/compiler.h>
5 #include <linux/linkage.h>
7 /*
8 * Calling conventions for these system calls can differ, so
9 * it's possible to override them.
11 #ifndef sys_clone
12 asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp,
13 void __user *parent_tid, void __user *child_tid,
14 struct pt_regs *regs);
15 #endif
17 #ifndef sys_fork
18 asmlinkage long sys_fork(struct pt_regs *regs);
19 #endif
21 #ifndef sys_vfork
22 asmlinkage long sys_vfork(struct pt_regs *regs);
23 #endif
25 #ifndef sys_execve
26 asmlinkage long sys_execve(char __user *filename, char __user * __user *argv,
27 char __user * __user *envp, struct pt_regs *regs);
28 #endif
30 #ifndef sys_mmap2
31 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
32 unsigned long prot, unsigned long flags,
33 unsigned long fd, unsigned long pgoff);
34 #endif
36 #ifndef sys_mmap
37 asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
38 unsigned long prot, unsigned long flags,
39 unsigned long fd, off_t pgoff);
40 #endif
42 #ifndef sys_sigaltstack
43 asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
44 struct pt_regs *);
45 #endif
47 #ifndef sys_rt_sigreturn
48 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
49 #endif
51 #ifndef sys_rt_sigsuspend
52 asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
53 #endif
55 #ifndef sys_rt_sigaction
56 asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
57 struct sigaction __user *oact, size_t sigsetsize);
58 #endif
60 #endif /* __ASM_GENERIC_SYSCALLS_H */