blob: 4f643aa718e3102eb0cbd8a077e9a617143435e6 [file] [log] [blame]
Paul Mundtfa439722008-09-04 18:53:58 +09001#ifndef __ASM_SH_SYSCALLS_32_H
2#define __ASM_SH_SYSCALLS_32_H
3
4#ifdef __KERNEL__
5
6#include <linux/compiler.h>
7#include <linux/linkage.h>
8#include <linux/types.h>
9
10struct pt_regs;
11
Bobby Binghamabafe5d2014-04-03 14:46:39 -070012asmlinkage int sys_sigreturn(void);
13asmlinkage int sys_rt_sigreturn(void);
14asmlinkage int sys_sh_pipe(void);
Paul Mundtfa439722008-09-04 18:53:58 +090015asmlinkage ssize_t sys_pread_wrapper(unsigned int fd, char __user *buf,
16 size_t count, long dummy, loff_t pos);
17asmlinkage ssize_t sys_pwrite_wrapper(unsigned int fd, const char __user *buf,
18 size_t count, long dummy, loff_t pos);
19asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
20 u32 len0, u32 len1, int advice);
21
22/* Misc syscall related bits */
23asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
24asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
25asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned int save_r0,
26 unsigned long thread_info_flags);
27
28#endif /* __KERNEL__ */
29#endif /* __ASM_SH_SYSCALLS_32_H */