1/* SPDX-License-Identifier: GPL-2.0-only */ 2#ifndef __ASM_SYSCALLS_H 3#define __ASM_SYSCALLS_H 4 5#include <linux/linkage.h> 6#include <linux/types.h> 7 8struct pt_regs; 9asmlinkage int sys_sigreturn(struct pt_regs *regs); 10asmlinkage int sys_rt_sigreturn(struct pt_regs *regs); 11asmlinkage long sys_arm_fadvise64_64(int fd, int advice, 12 loff_t offset, loff_t len); 13 14struct oldabi_stat64; 15asmlinkage long sys_oabi_stat64(const char __user * filename, 16 struct oldabi_stat64 __user * statbuf); 17asmlinkage long sys_oabi_lstat64(const char __user * filename, 18 struct oldabi_stat64 __user * statbuf); 19asmlinkage long sys_oabi_fstat64(unsigned long fd, 20 struct oldabi_stat64 __user * statbuf); 21asmlinkage long sys_oabi_fstatat64(int dfd, 22 const char __user *filename, 23 struct oldabi_stat64 __user *statbuf, 24 int flag); 25asmlinkage long sys_oabi_fcntl64(unsigned int fd, unsigned int cmd, 26 unsigned long arg); 27struct oabi_epoll_event; 28asmlinkage long sys_oabi_epoll_ctl(int epfd, int op, int fd, 29 struct oabi_epoll_event __user *event); 30struct oabi_sembuf; 31struct old_timespec32; 32asmlinkage long sys_oabi_semtimedop(int semid, 33 struct oabi_sembuf __user *tsops, 34 unsigned nsops, 35 const struct old_timespec32 __user *timeout); 36asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, 37 unsigned nsops); 38asmlinkage int sys_oabi_ipc(uint call, int first, int second, int third, 39 void __user *ptr, long fifth); 40struct sockaddr; 41asmlinkage long sys_oabi_bind(int fd, struct sockaddr __user *addr, int addrlen); 42asmlinkage long sys_oabi_connect(int fd, struct sockaddr __user *addr, int addrlen); 43asmlinkage long sys_oabi_sendto(int fd, void __user *buff, 44 size_t len, unsigned flags, 45 struct sockaddr __user *addr, 46 int addrlen); 47struct user_msghdr; 48asmlinkage long sys_oabi_sendmsg(int fd, struct user_msghdr __user *msg, unsigned flags); 49asmlinkage long sys_oabi_socketcall(int call, unsigned long __user *args); 50 51#endif 52