Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120941
b: refs/heads/master
c: 2456d73
h: refs/heads/master
i:
  120939: c2258ee
v: v3
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Nov 23, 2008
1 parent 25bd398 commit 7579bf1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 666ac7be049ec290625e65d5922ff59f7bdec527
refs/heads/master: 2456d738ef051f85170bf018faef63f83fa84eb5
7 changes: 7 additions & 0 deletions trunk/arch/x86/kernel/signal_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,19 @@ static long do_rt_sigreturn(struct pt_regs *regs)
return 0;
}

#ifdef CONFIG_X86_32
asmlinkage int sys_rt_sigreturn(unsigned long __unused)
{
struct pt_regs *regs = (struct pt_regs *)&__unused;

return do_rt_sigreturn(regs);
}
#else /* !CONFIG_X86_32 */
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
{
return do_rt_sigreturn(regs);
}
#endif /* CONFIG_X86_32 */

/*
* Set up a signal frame.
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/x86/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,19 @@ static long do_rt_sigreturn(struct pt_regs *regs)
return 0;
}

#ifdef CONFIG_X86_32
asmlinkage int sys_rt_sigreturn(unsigned long __unused)
{
struct pt_regs *regs = (struct pt_regs *)&__unused;

return do_rt_sigreturn(regs);
}
#else /* !CONFIG_X86_32 */
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
{
return do_rt_sigreturn(regs);
}
#endif /* CONFIG_X86_32 */

/*
* Set up a signal frame.
Expand Down

0 comments on commit 7579bf1

Please sign in to comment.