Messages in this thread | | | Date | Fri, 21 Nov 2008 18:08:12 -0800 | From | Hiroshi Shimamoto <> | Subject | Re: [PATCH 3/3] x86: signal: cosmetic unification of sys_rt_sigreturn() |
| |
H. Peter Anvin wrote: > 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(®s); > } > > ...?
Good question. I didn't realize about that. Will take a look.
thanks, Hiroshi Shimamoto
| |