diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-06 13:10:48 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-07 05:58:03 -0400 |
commit | 63df41d663fc27e96571bfea86d3f9ee81289e07 (patch) | |
tree | a6d460af08dcbaf9e4e3e8d0e46678f10f836024 /arch/s390/kernel/entry.h | |
parent | 5b512beb0f18024e32e228976e3690d349b05b6a (diff) |
s390: make various functions static, add declarations to header files
Make various functions static, add declarations to header files to
fix a couple of sparse findings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.h')
-rw-r--r-- | arch/s390/kernel/entry.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/arch/s390/kernel/entry.h b/arch/s390/kernel/entry.h index 3ddbc26d246e..e9b04c33d383 100644 --- a/arch/s390/kernel/entry.h +++ b/arch/s390/kernel/entry.h | |||
@@ -53,27 +53,21 @@ void handle_signal32(unsigned long sig, struct k_sigaction *ka, | |||
53 | siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); | 53 | siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); |
54 | void do_notify_resume(struct pt_regs *regs); | 54 | void do_notify_resume(struct pt_regs *regs); |
55 | 55 | ||
56 | struct ext_code; | 56 | void __init init_IRQ(void); |
57 | void do_extint(struct pt_regs *regs); | 57 | void do_IRQ(struct pt_regs *regs, int irq); |
58 | void do_restart(void); | 58 | void do_restart(void); |
59 | void __init startup_init(void); | 59 | void __init startup_init(void); |
60 | void die(struct pt_regs *regs, const char *str); | 60 | void die(struct pt_regs *regs, const char *str); |
61 | 61 | int setup_profiling_timer(unsigned int multiplier); | |
62 | void __init time_init(void); | 62 | void __init time_init(void); |
63 | int pfn_is_nosave(unsigned long); | ||
64 | void s390_early_resume(void); | ||
65 | unsigned long prepare_ftrace_return(unsigned long parent, unsigned long ip); | ||
63 | 66 | ||
64 | struct s390_mmap_arg_struct; | 67 | struct s390_mmap_arg_struct; |
65 | struct fadvise64_64_args; | 68 | struct fadvise64_64_args; |
66 | struct old_sigaction; | 69 | struct old_sigaction; |
67 | 70 | ||
68 | long sys_mmap2(struct s390_mmap_arg_struct __user *arg); | ||
69 | long sys_s390_ipc(uint call, int first, unsigned long second, | ||
70 | unsigned long third, void __user *ptr); | ||
71 | long sys_s390_personality(unsigned int personality); | ||
72 | long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low, | ||
73 | size_t len, int advice); | ||
74 | long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); | ||
75 | long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high, | ||
76 | u32 len_low); | ||
77 | long sys_sigreturn(void); | 71 | long sys_sigreturn(void); |
78 | long sys_rt_sigreturn(void); | 72 | long sys_rt_sigreturn(void); |
79 | long sys32_sigreturn(void); | 73 | long sys32_sigreturn(void); |