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