Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757767AbYKVBux (ORCPT ); Fri, 21 Nov 2008 20:50:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752977AbYKVBun (ORCPT ); Fri, 21 Nov 2008 20:50:43 -0500 Received: from terminus.zytor.com ([198.137.202.10]:50517 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752250AbYKVBum (ORCPT ); Fri, 21 Nov 2008 20:50:42 -0500 Message-ID: <4927655B.5070906@zytor.com> Date: Fri, 21 Nov 2008 17:50:19 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Hiroshi Shimamoto CC: Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] x86: signal: cosmetic unification of sys_rt_sigreturn() References: <49276229.9060000@ct.jp.nec.com> <492762B1.4020107@ct.jp.nec.com> In-Reply-To: <492762B1.4020107@ct.jp.nec.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 25 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); } ...? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/