diff options
Diffstat (limited to 'arch/mips/kernel/signal.c')
-rw-r--r-- | arch/mips/kernel/signal.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index a5adab1c94c3..b3f8f0df1b68 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -201,9 +201,7 @@ int install_sigtramp(unsigned int __user *tramp, unsigned int syscall) | |||
201 | */ | 201 | */ |
202 | 202 | ||
203 | #ifdef CONFIG_TRAD_SIGNALS | 203 | #ifdef CONFIG_TRAD_SIGNALS |
204 | save_static_function(sys_sigsuspend); | 204 | asmlinkage int sys_sigsuspend(nabi_no_regargs struct pt_regs regs) |
205 | __attribute_used__ noinline static int | ||
206 | _sys_sigsuspend(nabi_no_regargs struct pt_regs regs) | ||
207 | { | 205 | { |
208 | sigset_t newset; | 206 | sigset_t newset; |
209 | sigset_t __user *uset; | 207 | sigset_t __user *uset; |
@@ -226,9 +224,7 @@ _sys_sigsuspend(nabi_no_regargs struct pt_regs regs) | |||
226 | } | 224 | } |
227 | #endif | 225 | #endif |
228 | 226 | ||
229 | save_static_function(sys_rt_sigsuspend); | 227 | asmlinkage int sys_rt_sigsuspend(nabi_no_regargs struct pt_regs regs) |
230 | __attribute_used__ noinline static int | ||
231 | _sys_rt_sigsuspend(nabi_no_regargs struct pt_regs regs) | ||
232 | { | 228 | { |
233 | sigset_t newset; | 229 | sigset_t newset; |
234 | sigset_t __user *unewset; | 230 | sigset_t __user *unewset; |
@@ -307,9 +303,7 @@ asmlinkage int sys_sigaltstack(nabi_no_regargs struct pt_regs regs) | |||
307 | } | 303 | } |
308 | 304 | ||
309 | #ifdef CONFIG_TRAD_SIGNALS | 305 | #ifdef CONFIG_TRAD_SIGNALS |
310 | save_static_function(sys_sigreturn); | 306 | asmlinkage void sys_sigreturn(nabi_no_regargs struct pt_regs regs) |
311 | __attribute_used__ noinline static void | ||
312 | _sys_sigreturn(nabi_no_regargs struct pt_regs regs) | ||
313 | { | 307 | { |
314 | struct sigframe __user *frame; | 308 | struct sigframe __user *frame; |
315 | sigset_t blocked; | 309 | sigset_t blocked; |
@@ -344,9 +338,7 @@ badframe: | |||
344 | } | 338 | } |
345 | #endif /* CONFIG_TRAD_SIGNALS */ | 339 | #endif /* CONFIG_TRAD_SIGNALS */ |
346 | 340 | ||
347 | save_static_function(sys_rt_sigreturn); | 341 | asmlinkage void sys_rt_sigreturn(nabi_no_regargs struct pt_regs regs) |
348 | __attribute_used__ noinline static void | ||
349 | _sys_rt_sigreturn(nabi_no_regargs struct pt_regs regs) | ||
350 | { | 342 | { |
351 | struct rt_sigframe __user *frame; | 343 | struct rt_sigframe __user *frame; |
352 | sigset_t set; | 344 | sigset_t set; |