From mboxrd@z Thu Jan 1 00:00:00 1970 From: dave.martin@linaro.org (Dave Martin) Date: Tue, 6 Dec 2011 13:23:31 +0000 Subject: [PATCH] ARM: make head.S register assignments more convenient In-Reply-To: <20111206112912.GR14542@n2100.arm.linux.org.uk> References: <20111206111105.GA2270@linaro.org> <20111206112912.GR14542@n2100.arm.linux.org.uk> Message-ID: <20111206132331.GA13769@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Dec 06, 2011 at 11:29:12AM +0000, Russell King - ARM Linux wrote: > On Tue, Dec 06, 2011 at 11:11:05AM +0000, Dave Martin wrote: > > Is it also worth changing the other proc-*.S setup rountines to be PCS > > compliant too? This would clean up the calling convention further, and > > help avoid future sutprises. > > They _aren't_ PCS functions in any case. They don't have a stack > available to them. So, having them as non-PCS functions reinforces > the fact that they _are_ special. Fair point. Maybe a brief note in the commit message explaining why only certain proc-*.S files are touched would be belpful. But it's not vital. Cheers ---Dave