From: "Carlos O'Donell" Subject: Re: [PATCH] fix comment in Light-weight-syscall code Date: Fri, 11 Jul 2008 15:45:31 -0400 Message-ID: <119aab440807111245u8a7e26er70f695ac8d4a6da7@mail.gmail.com> References: <200807102204.15886.deller@gmx.de> <119aab440807111002i2ed7079cu7a7c096b241784b7@mail.gmail.com> <20080711183302.GD31987@phobos.i.cabal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: "Helge Deller" , linux-parisc@vger.kernel.org To: "Kyle McMartin" Return-path: In-Reply-To: <20080711183302.GD31987@phobos.i.cabal.ca> List-ID: List-Id: linux-parisc.vger.kernel.org On Fri, Jul 11, 2008 at 2:33 PM, Kyle McMartin wrote: > On Fri, Jul 11, 2008 at 01:02:10PM -0400, Carlos O'Donell wrote: >> On Thu, Jul 10, 2008 at 4:04 PM, Helge Deller wrote: >> > The comment for the lws-atomic system call userspace helper >> > function mentions r22 and r23 as input registers, but I couldn't >> > find any usage of those registers in the code. >> > This patch fixes this and corrects another small typo as well. >> >> That's the LWS syscall ABI. It has 5 argument registers, 1 return >> register, 1 error code register, and 1 lws number register. >> > > Yeah, but I think what Helge is asking is, if there's no plans to ever > add more, or more arguments, can he change it to be 3 args? No, I'm not OK with it, I think we should keep the extra two argument registers for future use. I've been talking to Helge about this. Once we lose those registers they are gone from the ABI forever, and if we need some fixup, or an additional arg in the future, it will be hard to handle. Cheers, Carlos.