aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal.c
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-12-05 20:17:09 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-08 09:21:35 -0500
commit4217458dafaa57d8e26a46f5d05ab8c53cf64191 (patch)
treef97592f82aa1586a08be677144b25e7e206f4141 /arch/x86/kernel/signal.c
parent5ceb40da9bacc8b056805d72efb1a52502d56b6b (diff)
x86: signal: change type of paramter for sys_rt_sigreturn()
Impact: cleanup on 32-bit Peter pointed this parameter can be changed. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r--arch/x86/kernel/signal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c
index b1f4d34e0a38..b1cc6da64208 100644
--- a/arch/x86/kernel/signal.c
+++ b/arch/x86/kernel/signal.c
@@ -642,11 +642,9 @@ badframe:
642} 642}
643 643
644#ifdef CONFIG_X86_32 644#ifdef CONFIG_X86_32
645asmlinkage int sys_rt_sigreturn(unsigned long __unused) 645asmlinkage int sys_rt_sigreturn(struct pt_regs regs)
646{ 646{
647 struct pt_regs *regs = (struct pt_regs *)&__unused; 647 return do_rt_sigreturn(&regs);
648
649 return do_rt_sigreturn(regs);
650} 648}
651#else /* !CONFIG_X86_32 */ 649#else /* !CONFIG_X86_32 */
652asmlinkage long sys_rt_sigreturn(struct pt_regs *regs) 650asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)