lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] x86: signal: cosmetic unification of sys_rt_sigreturn()
Hiroshi Shimamoto wrote:
>
> +#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);
> }

Why not:

asmlinkage int sys_rt_sigreturn(struct pt_regs regs)
{
return do_rt_sigreturn(&regs);
}

...?

-hpa


\
 
 \ /
  Last update: 2008-11-22 02:53    [W:0.100 / U:1.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site