Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 1 | #ifndef _ENTRY_H |
| 2 | #define _ENTRY_H |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | #include <linux/signal.h> |
| 6 | #include <asm/ptrace.h> |
| 7 | |
Martin Schwidefsky | fdb204d | 2011-07-24 10:48:24 +0200 | [diff] [blame] | 8 | void do_protection_exception(struct pt_regs *, long, unsigned long); |
| 9 | void do_dat_exception(struct pt_regs *, long, unsigned long); |
| 10 | void do_asce_exception(struct pt_regs *, long, unsigned long); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 11 | |
| 12 | extern int sysctl_userprocess_debug; |
| 13 | |
Martin Schwidefsky | 5e9a269 | 2011-01-05 12:48:10 +0100 | [diff] [blame] | 14 | void do_per_trap(struct pt_regs *regs); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 15 | void syscall_trace(struct pt_regs *regs, int entryexit); |
| 16 | void kernel_stack_overflow(struct pt_regs * regs); |
| 17 | void do_signal(struct pt_regs *regs); |
| 18 | int handle_signal32(unsigned long sig, struct k_sigaction *ka, |
| 19 | siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); |
| 20 | |
Martin Schwidefsky | f6649a7 | 2010-10-25 16:10:38 +0200 | [diff] [blame] | 21 | void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 22 | int __cpuinit start_secondary(void *cpuvoid); |
| 23 | void __init startup_init(void); |
| 24 | void die(const char * str, struct pt_regs * regs, long err); |
| 25 | |
Christoph Hellwig | a467937 | 2010-03-10 15:21:15 -0800 | [diff] [blame] | 26 | struct s390_mmap_arg_struct; |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 27 | struct fadvise64_64_args; |
| 28 | struct old_sigaction; |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 29 | |
Christoph Hellwig | a467937 | 2010-03-10 15:21:15 -0800 | [diff] [blame] | 30 | long sys_mmap2(struct s390_mmap_arg_struct __user *arg); |
Christoph Hellwig | baed7fc | 2010-03-10 15:21:18 -0800 | [diff] [blame] | 31 | long sys_s390_ipc(uint call, int first, unsigned long second, |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 32 | unsigned long third, void __user *ptr); |
Heiko Carstens | 3a11037 | 2010-08-13 10:06:39 +0200 | [diff] [blame] | 33 | long sys_s390_personality(unsigned int personality); |
Heiko Carstens | 2668945 | 2009-01-14 14:14:36 +0100 | [diff] [blame] | 34 | long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low, |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 35 | size_t len, int advice); |
Heiko Carstens | 2668945 | 2009-01-14 14:14:36 +0100 | [diff] [blame] | 36 | long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); |
| 37 | long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high, |
| 38 | u32 len_low); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 39 | long sys_fork(void); |
Heiko Carstens | 2d70ca2 | 2009-09-22 22:58:41 +0200 | [diff] [blame] | 40 | long sys_clone(unsigned long newsp, unsigned long clone_flags, |
| 41 | int __user *parent_tidptr, int __user *child_tidptr); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 42 | long sys_vfork(void); |
| 43 | void execve_tail(void); |
Sebastian Ott | 7af048d | 2010-08-24 09:26:20 +0200 | [diff] [blame] | 44 | long sys_execve(const char __user *name, const char __user *const __user *argv, |
| 45 | const char __user *const __user *envp); |
Heiko Carstens | 2668945 | 2009-01-14 14:14:36 +0100 | [diff] [blame] | 46 | long sys_sigsuspend(int history0, int history1, old_sigset_t mask); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 47 | long sys_sigaction(int sig, const struct old_sigaction __user *act, |
| 48 | struct old_sigaction __user *oact); |
| 49 | long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss); |
| 50 | long sys_sigreturn(void); |
| 51 | long sys_rt_sigreturn(void); |
| 52 | long sys32_sigreturn(void); |
| 53 | long sys32_rt_sigreturn(void); |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 54 | |
| 55 | #endif /* _ENTRY_H */ |