diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kernel/binfmt_elf32.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/module.c | 4 | ||||
-rw-r--r-- | arch/s390/kernel/setup.c | 6 | ||||
-rw-r--r-- | arch/s390/kernel/smp.c | 8 | ||||
-rw-r--r-- | arch/s390/kernel/stacktrace.c | 10 | ||||
-rw-r--r-- | arch/s390/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/s390/lib/uaccess_pt.c | 10 | ||||
-rw-r--r-- | arch/s390/mm/cmm.c | 2 | ||||
-rw-r--r-- | arch/s390/mm/extmem.c | 2 |
9 files changed, 24 insertions, 24 deletions
diff --git a/arch/s390/kernel/binfmt_elf32.c b/arch/s390/kernel/binfmt_elf32.c index 5c46054195cb..f1e40ca00d8d 100644 --- a/arch/s390/kernel/binfmt_elf32.c +++ b/arch/s390/kernel/binfmt_elf32.c | |||
@@ -192,7 +192,7 @@ MODULE_AUTHOR("Gerhard Tonn <ton@de.ibm.com>"); | |||
192 | 192 | ||
193 | #undef cputime_to_timeval | 193 | #undef cputime_to_timeval |
194 | #define cputime_to_timeval cputime_to_compat_timeval | 194 | #define cputime_to_timeval cputime_to_compat_timeval |
195 | static __inline__ void | 195 | static inline void |
196 | cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) | 196 | cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) |
197 | { | 197 | { |
198 | value->tv_usec = cputime % 1000000; | 198 | value->tv_usec = cputime % 1000000; |
diff --git a/arch/s390/kernel/module.c b/arch/s390/kernel/module.c index f5476f5c2e96..39d1dd752529 100644 --- a/arch/s390/kernel/module.c +++ b/arch/s390/kernel/module.c | |||
@@ -59,7 +59,7 @@ void module_free(struct module *mod, void *module_region) | |||
59 | table entries. */ | 59 | table entries. */ |
60 | } | 60 | } |
61 | 61 | ||
62 | static inline void | 62 | static void |
63 | check_rela(Elf_Rela *rela, struct module *me) | 63 | check_rela(Elf_Rela *rela, struct module *me) |
64 | { | 64 | { |
65 | struct mod_arch_syminfo *info; | 65 | struct mod_arch_syminfo *info; |
@@ -182,7 +182,7 @@ apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, | |||
182 | return -ENOEXEC; | 182 | return -ENOEXEC; |
183 | } | 183 | } |
184 | 184 | ||
185 | static inline int | 185 | static int |
186 | apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, | 186 | apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, |
187 | struct module *me) | 187 | struct module *me) |
188 | { | 188 | { |
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index f73a11528217..03739813d3bf 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -129,7 +129,7 @@ char vmhalt_cmd[128] = ""; | |||
129 | char vmpoff_cmd[128] = ""; | 129 | char vmpoff_cmd[128] = ""; |
130 | static char vmpanic_cmd[128] = ""; | 130 | static char vmpanic_cmd[128] = ""; |
131 | 131 | ||
132 | static inline void strncpy_skip_quote(char *dst, char *src, int n) | 132 | static void strncpy_skip_quote(char *dst, char *src, int n) |
133 | { | 133 | { |
134 | int sx, dx; | 134 | int sx, dx; |
135 | 135 | ||
@@ -396,8 +396,8 @@ early_param("ipldelay", early_parse_ipldelay); | |||
396 | unsigned int switch_amode = 0; | 396 | unsigned int switch_amode = 0; |
397 | EXPORT_SYMBOL_GPL(switch_amode); | 397 | EXPORT_SYMBOL_GPL(switch_amode); |
398 | 398 | ||
399 | static inline void set_amode_and_uaccess(unsigned long user_amode, | 399 | static void set_amode_and_uaccess(unsigned long user_amode, |
400 | unsigned long user32_amode) | 400 | unsigned long user32_amode) |
401 | { | 401 | { |
402 | psw_user_bits = PSW_BASE_BITS | PSW_MASK_DAT | user_amode | | 402 | psw_user_bits = PSW_BASE_BITS | PSW_MASK_DAT | user_amode | |
403 | PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK | | 403 | PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK | |
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 08f9a4dfb18b..65b52320d145 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -194,7 +194,7 @@ int smp_call_function_on(void (*func) (void *info), void *info, | |||
194 | } | 194 | } |
195 | EXPORT_SYMBOL(smp_call_function_on); | 195 | EXPORT_SYMBOL(smp_call_function_on); |
196 | 196 | ||
197 | static inline void do_send_stop(void) | 197 | static void do_send_stop(void) |
198 | { | 198 | { |
199 | int cpu, rc; | 199 | int cpu, rc; |
200 | 200 | ||
@@ -208,7 +208,7 @@ static inline void do_send_stop(void) | |||
208 | } | 208 | } |
209 | } | 209 | } |
210 | 210 | ||
211 | static inline void do_store_status(void) | 211 | static void do_store_status(void) |
212 | { | 212 | { |
213 | int cpu, rc; | 213 | int cpu, rc; |
214 | 214 | ||
@@ -224,7 +224,7 @@ static inline void do_store_status(void) | |||
224 | } | 224 | } |
225 | } | 225 | } |
226 | 226 | ||
227 | static inline void do_wait_for_stop(void) | 227 | static void do_wait_for_stop(void) |
228 | { | 228 | { |
229 | int cpu; | 229 | int cpu; |
230 | 230 | ||
@@ -534,7 +534,7 @@ smp_put_cpu(int cpu) | |||
534 | spin_unlock_irqrestore(&smp_reserve_lock, flags); | 534 | spin_unlock_irqrestore(&smp_reserve_lock, flags); |
535 | } | 535 | } |
536 | 536 | ||
537 | static inline int | 537 | static int |
538 | cpu_stopped(int cpu) | 538 | cpu_stopped(int cpu) |
539 | { | 539 | { |
540 | __u32 status; | 540 | __u32 status; |
diff --git a/arch/s390/kernel/stacktrace.c b/arch/s390/kernel/stacktrace.c index 0d14a4789bf2..2e5c65a1863e 100644 --- a/arch/s390/kernel/stacktrace.c +++ b/arch/s390/kernel/stacktrace.c | |||
@@ -11,11 +11,11 @@ | |||
11 | #include <linux/stacktrace.h> | 11 | #include <linux/stacktrace.h> |
12 | #include <linux/kallsyms.h> | 12 | #include <linux/kallsyms.h> |
13 | 13 | ||
14 | static inline unsigned long save_context_stack(struct stack_trace *trace, | 14 | static unsigned long save_context_stack(struct stack_trace *trace, |
15 | unsigned int *skip, | 15 | unsigned int *skip, |
16 | unsigned long sp, | 16 | unsigned long sp, |
17 | unsigned long low, | 17 | unsigned long low, |
18 | unsigned long high) | 18 | unsigned long high) |
19 | { | 19 | { |
20 | struct stack_frame *sf; | 20 | struct stack_frame *sf; |
21 | struct pt_regs *regs; | 21 | struct pt_regs *regs; |
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 39a72d3cb89a..3b91f27ab202 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c | |||
@@ -166,7 +166,7 @@ int sysctl_hz_timer = 1; | |||
166 | * Stop the HZ tick on the current CPU. | 166 | * Stop the HZ tick on the current CPU. |
167 | * Only cpu_idle may call this function. | 167 | * Only cpu_idle may call this function. |
168 | */ | 168 | */ |
169 | static inline void stop_hz_timer(void) | 169 | static void stop_hz_timer(void) |
170 | { | 170 | { |
171 | unsigned long flags; | 171 | unsigned long flags; |
172 | unsigned long seq, next; | 172 | unsigned long seq, next; |
@@ -210,7 +210,7 @@ static inline void stop_hz_timer(void) | |||
210 | * Start the HZ tick on the current CPU. | 210 | * Start the HZ tick on the current CPU. |
211 | * Only cpu_idle may call this function. | 211 | * Only cpu_idle may call this function. |
212 | */ | 212 | */ |
213 | static inline void start_hz_timer(void) | 213 | static void start_hz_timer(void) |
214 | { | 214 | { |
215 | BUG_ON(!in_interrupt()); | 215 | BUG_ON(!in_interrupt()); |
216 | 216 | ||
diff --git a/arch/s390/lib/uaccess_pt.c b/arch/s390/lib/uaccess_pt.c index 637192fa7c9a..63181671e3e3 100644 --- a/arch/s390/lib/uaccess_pt.c +++ b/arch/s390/lib/uaccess_pt.c | |||
@@ -15,8 +15,8 @@ | |||
15 | #include <asm/futex.h> | 15 | #include <asm/futex.h> |
16 | #include "uaccess.h" | 16 | #include "uaccess.h" |
17 | 17 | ||
18 | static inline int __handle_fault(struct mm_struct *mm, unsigned long address, | 18 | static int __handle_fault(struct mm_struct *mm, unsigned long address, |
19 | int write_access) | 19 | int write_access) |
20 | { | 20 | { |
21 | struct vm_area_struct *vma; | 21 | struct vm_area_struct *vma; |
22 | int ret = -EFAULT; | 22 | int ret = -EFAULT; |
@@ -81,8 +81,8 @@ out_sigbus: | |||
81 | return ret; | 81 | return ret; |
82 | } | 82 | } |
83 | 83 | ||
84 | static inline size_t __user_copy_pt(unsigned long uaddr, void *kptr, | 84 | static size_t __user_copy_pt(unsigned long uaddr, void *kptr, |
85 | size_t n, int write_user) | 85 | size_t n, int write_user) |
86 | { | 86 | { |
87 | struct mm_struct *mm = current->mm; | 87 | struct mm_struct *mm = current->mm; |
88 | unsigned long offset, pfn, done, size; | 88 | unsigned long offset, pfn, done, size; |
@@ -139,7 +139,7 @@ fault: | |||
139 | * Do DAT for user address by page table walk, return kernel address. | 139 | * Do DAT for user address by page table walk, return kernel address. |
140 | * This function needs to be called with current->mm->page_table_lock held. | 140 | * This function needs to be called with current->mm->page_table_lock held. |
141 | */ | 141 | */ |
142 | static inline unsigned long __dat_user_addr(unsigned long uaddr) | 142 | static unsigned long __dat_user_addr(unsigned long uaddr) |
143 | { | 143 | { |
144 | struct mm_struct *mm = current->mm; | 144 | struct mm_struct *mm = current->mm; |
145 | unsigned long pfn, ret; | 145 | unsigned long pfn, ret; |
diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c index fb87e2320eba..f93a056869bc 100644 --- a/arch/s390/mm/cmm.c +++ b/arch/s390/mm/cmm.c | |||
@@ -245,7 +245,7 @@ cmm_set_timeout(long nr, long seconds) | |||
245 | cmm_set_timer(); | 245 | cmm_set_timer(); |
246 | } | 246 | } |
247 | 247 | ||
248 | static inline int | 248 | static int |
249 | cmm_skip_blanks(char *cp, char **endp) | 249 | cmm_skip_blanks(char *cp, char **endp) |
250 | { | 250 | { |
251 | char *str; | 251 | char *str; |
diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c index 8bffadb5e537..394980b05e6f 100644 --- a/arch/s390/mm/extmem.c +++ b/arch/s390/mm/extmem.c | |||
@@ -91,7 +91,7 @@ static char *segtype_string[] = { "SW", "EW", "SR", "ER", "SN", "EN", "SC", | |||
91 | * Create the 8 bytes, ebcdic VM segment name from | 91 | * Create the 8 bytes, ebcdic VM segment name from |
92 | * an ascii name. | 92 | * an ascii name. |
93 | */ | 93 | */ |
94 | static void inline | 94 | static void |
95 | dcss_mkname(char *name, char *dcss_name) | 95 | dcss_mkname(char *name, char *dcss_name) |
96 | { | 96 | { |
97 | int i; | 97 | int i; |