Unify sys_mmap*
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / xtensa / include / asm / syscall.h
CommitLineData
3547cdb1
CZ
1/*
2 * include/asm-xtensa/syscall.h
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 2001 - 2007 Tensilica Inc.
9 */
10
fc4fb2ad
CZ
11struct pt_regs;
12struct sigaction;
13asmlinkage long xtensa_execve(char*, char**, char**, struct pt_regs*);
14asmlinkage long xtensa_clone(unsigned long, unsigned long, struct pt_regs*);
15asmlinkage long xtensa_pipe(int __user *);
fc4fb2ad
CZ
16asmlinkage long xtensa_ptrace(long, long, long, long);
17asmlinkage long xtensa_sigreturn(struct pt_regs*);
18asmlinkage long xtensa_rt_sigreturn(struct pt_regs*);
19asmlinkage long xtensa_sigsuspend(struct pt_regs*);
20asmlinkage long xtensa_rt_sigsuspend(struct pt_regs*);
21asmlinkage long xtensa_sigaction(int, const struct old_sigaction*,
22 struct old_sigaction*);
23asmlinkage long xtensa_sigaltstack(struct pt_regs *regs);
24asmlinkage long sys_rt_sigaction(int,
25 const struct sigaction __user *,
26 struct sigaction __user *,
27 size_t);
3547cdb1 28asmlinkage long xtensa_shmat(int, char __user *, int);
bc671aa9
CZ
29asmlinkage long xtensa_fadvise64_64(int, int,
30 unsigned long long, unsigned long long);
3547cdb1
CZ
31
32/* Should probably move to linux/syscalls.h */
33struct pollfd;
34asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
35 fd_set __user *exp, struct timespec __user *tsp, void __user *sig);
36asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
37 struct timespec __user *tsp, const sigset_t __user *sigmask,
38 size_t sigsetsize);
39
40