diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 10:17:13 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 10:16:46 -0400 |
commit | 638ad34a8811119b32247b7722288ef8b90907d1 (patch) | |
tree | 9153571e8de8f9247bb54f9baddb140fd5fa5684 /arch/s390/kernel/entry.h | |
parent | e54aafa0c3bef84bfd39b4c713942ae7cdcfc58a (diff) |
[S390] sparse: fix sparse warnings about missing prototypes
Add prototypes and includes for functions used in different modules.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.h')
-rw-r--r-- | arch/s390/kernel/entry.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/s390/kernel/entry.h b/arch/s390/kernel/entry.h index 66729eb7bbc5..ef8fb1d6e8d7 100644 --- a/arch/s390/kernel/entry.h +++ b/arch/s390/kernel/entry.h | |||
@@ -5,24 +5,33 @@ | |||
5 | #include <linux/signal.h> | 5 | #include <linux/signal.h> |
6 | #include <asm/ptrace.h> | 6 | #include <asm/ptrace.h> |
7 | 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 | |||
8 | void do_protection_exception(struct pt_regs *, long, unsigned long); | 15 | void do_protection_exception(struct pt_regs *, long, unsigned long); |
9 | void do_dat_exception(struct pt_regs *, long, unsigned long); | 16 | void do_dat_exception(struct pt_regs *, long, unsigned long); |
10 | void do_asce_exception(struct pt_regs *, long, unsigned long); | 17 | void do_asce_exception(struct pt_regs *, long, unsigned long); |
11 | 18 | ||
12 | extern int sysctl_userprocess_debug; | ||
13 | |||
14 | void do_per_trap(struct pt_regs *regs); | 19 | void do_per_trap(struct pt_regs *regs); |
15 | void syscall_trace(struct pt_regs *regs, int entryexit); | 20 | void syscall_trace(struct pt_regs *regs, int entryexit); |
16 | void kernel_stack_overflow(struct pt_regs * regs); | 21 | void kernel_stack_overflow(struct pt_regs * regs); |
17 | void do_signal(struct pt_regs *regs); | 22 | void do_signal(struct pt_regs *regs); |
18 | int handle_signal32(unsigned long sig, struct k_sigaction *ka, | 23 | int handle_signal32(unsigned long sig, struct k_sigaction *ka, |
19 | siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); | 24 | siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); |
25 | void do_notify_resume(struct pt_regs *regs); | ||
20 | 26 | ||
21 | void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long); | 27 | void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long); |
28 | void do_restart(void); | ||
22 | int __cpuinit start_secondary(void *cpuvoid); | 29 | int __cpuinit start_secondary(void *cpuvoid); |
23 | void __init startup_init(void); | 30 | void __init startup_init(void); |
24 | void die(const char * str, struct pt_regs * regs, long err); | 31 | void die(const char * str, struct pt_regs * regs, long err); |
25 | 32 | ||
33 | void __init time_init(void); | ||
34 | |||
26 | struct s390_mmap_arg_struct; | 35 | struct s390_mmap_arg_struct; |
27 | struct fadvise64_64_args; | 36 | struct fadvise64_64_args; |
28 | struct old_sigaction; | 37 | struct old_sigaction; |