[PATCH] ARM: make head.S register assignments more convenient

Dave Martin dave.martin at linaro.org
Tue Dec 6 08:23:31 EST 2011


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



More information about the linux-arm-kernel mailing list