blob: 6cf7c6c07a84f5c913a2217eb4405be9fc367335 [file] [log] [blame]
Chris Zankel3547cdb2007-08-03 15:55:07 -07001/*
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
Chris Zankelfc4fb2a2006-12-10 02:18:52 -080011struct pt_regs;
Chris Zankelfc4fb2a2006-12-10 02:18:52 -080012asmlinkage long xtensa_ptrace(long, long, long, long);
13asmlinkage long xtensa_sigreturn(struct pt_regs*);
14asmlinkage long xtensa_rt_sigreturn(struct pt_regs*);
Chris Zankelfc4fb2a2006-12-10 02:18:52 -080015asmlinkage long xtensa_sigaltstack(struct pt_regs *regs);
Chris Zankel3547cdb2007-08-03 15:55:07 -070016asmlinkage long xtensa_shmat(int, char __user *, int);
Chris Zankelbc671aa2007-08-05 10:22:58 -070017asmlinkage long xtensa_fadvise64_64(int, int,
18 unsigned long long, unsigned long long);
Chris Zankel3547cdb2007-08-03 15:55:07 -070019
20/* Should probably move to linux/syscalls.h */
21struct pollfd;
22asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
Chris Zankelc4c45942012-11-28 16:53:51 -080023 fd_set __user *exp, struct timespec __user *tsp,
24 void __user *sig);
Chris Zankel3547cdb2007-08-03 15:55:07 -070025asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
Chris Zankelc4c45942012-11-28 16:53:51 -080026 struct timespec __user *tsp,
27 const sigset_t __user *sigmask,
28 size_t sigsetsize);
29asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);