xref: /openbmc/linux/arch/xtensa/include/asm/syscall.h (revision a2cce7a9)
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 
11 struct pt_regs;
12 asmlinkage long xtensa_ptrace(long, long, long, long);
13 asmlinkage long xtensa_sigreturn(struct pt_regs*);
14 asmlinkage long xtensa_rt_sigreturn(struct pt_regs*);
15 asmlinkage long xtensa_shmat(int, char __user *, int);
16 asmlinkage long xtensa_fadvise64_64(int, int,
17 				    unsigned long long, unsigned long long);
18 
19 /* Should probably move to linux/syscalls.h */
20 struct pollfd;
21 asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
22 			     fd_set __user *exp, struct timespec __user *tsp,
23 			     void __user *sig);
24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
25 			  struct timespec __user *tsp,
26 			  const sigset_t __user *sigmask,
27 			  size_t sigsetsize);
28