]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/s390/kernel/entry.h
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / s390 / kernel / entry.h
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 #include <asm/cputime.h>
8
9 extern void (*pgm_check_table[128])(struct pt_regs *);
10 extern void *restart_stack;
11
12 void system_call(void);
13 void pgm_check_handler(void);
14 void ext_int_handler(void);
15 void io_int_handler(void);
16 void mcck_int_handler(void);
17 void restart_int_handler(void);
18 void restart_call_handler(void);
19 void psw_idle(struct s390_idle_data *, unsigned long);
20
21 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
22 asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
23
24 void do_protection_exception(struct pt_regs *regs);
25 void do_dat_exception(struct pt_regs *regs);
26 void do_asce_exception(struct pt_regs *regs);
27
28 void do_per_trap(struct pt_regs *regs);
29 void syscall_trace(struct pt_regs *regs, int entryexit);
30 void kernel_stack_overflow(struct pt_regs * regs);
31 void do_signal(struct pt_regs *regs);
32 void handle_signal32(unsigned long sig, struct k_sigaction *ka,
33                     siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
34 void do_notify_resume(struct pt_regs *regs);
35
36 struct ext_code;
37 void do_extint(struct pt_regs *regs, struct ext_code, unsigned int, unsigned long);
38 void do_restart(void);
39 void __init startup_init(void);
40 void die(struct pt_regs *regs, const char *str);
41
42 void __init time_init(void);
43
44 struct s390_mmap_arg_struct;
45 struct fadvise64_64_args;
46 struct old_sigaction;
47
48 long sys_mmap2(struct s390_mmap_arg_struct __user  *arg);
49 long sys_s390_ipc(uint call, int first, unsigned long second,
50              unsigned long third, void __user *ptr);
51 long sys_s390_personality(unsigned int personality);
52 long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
53                     size_t len, int advice);
54 long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
55 long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
56                         u32 len_low);
57 long sys_fork(void);
58 long sys_clone(unsigned long newsp, unsigned long clone_flags,
59                int __user *parent_tidptr, int __user *child_tidptr);
60 long sys_vfork(void);
61 long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
62 long sys_sigaction(int sig, const struct old_sigaction __user *act,
63                    struct old_sigaction __user *oact);
64 long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
65 long sys_sigreturn(void);
66 long sys_rt_sigreturn(void);
67 long sys32_sigreturn(void);
68 long sys32_rt_sigreturn(void);
69
70 #endif /* _ENTRY_H */