aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/entry.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-09-06 13:10:48 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2013-09-07 05:58:03 -0400
commit63df41d663fc27e96571bfea86d3f9ee81289e07 (patch)
treea6d460af08dcbaf9e4e3e8d0e46678f10f836024 /arch/s390/kernel/entry.h
parent5b512beb0f18024e32e228976e3690d349b05b6a (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.h18
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);
54void do_notify_resume(struct pt_regs *regs); 54void do_notify_resume(struct pt_regs *regs);
55 55
56struct ext_code; 56void __init init_IRQ(void);
57void do_extint(struct pt_regs *regs); 57void do_IRQ(struct pt_regs *regs, int irq);
58void do_restart(void); 58void do_restart(void);
59void __init startup_init(void); 59void __init startup_init(void);
60void die(struct pt_regs *regs, const char *str); 60void die(struct pt_regs *regs, const char *str);
61 61int setup_profiling_timer(unsigned int multiplier);
62void __init time_init(void); 62void __init time_init(void);
63int pfn_is_nosave(unsigned long);
64void s390_early_resume(void);
65unsigned long prepare_ftrace_return(unsigned long parent, unsigned long ip);
63 66
64struct s390_mmap_arg_struct; 67struct s390_mmap_arg_struct;
65struct fadvise64_64_args; 68struct fadvise64_64_args;
66struct old_sigaction; 69struct old_sigaction;
67 70
68long sys_mmap2(struct s390_mmap_arg_struct __user *arg);
69long sys_s390_ipc(uint call, int first, unsigned long second,
70 unsigned long third, void __user *ptr);
71long sys_s390_personality(unsigned int personality);
72long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
73 size_t len, int advice);
74long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
75long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
76 u32 len_low);
77long sys_sigreturn(void); 71long sys_sigreturn(void);
78long sys_rt_sigreturn(void); 72long sys_rt_sigreturn(void);
79long sys32_sigreturn(void); 73long sys32_sigreturn(void);