ARM: SMP: use more sane register allocation for __fixup_smp_on_up
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Nov 2010 12:06:28 +0000 (12:06 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:08:02 +0000 (15:08 +0000)
commit0eb0511d176534674600a1986c3c766756288908
tree28e3625826844913f85aebe22eb1e4e79ecaa167
parentb54992fe1b4bad7b7488d58b8696e4e8974fdab0
ARM: SMP: use more sane register allocation for __fixup_smp_on_up

Use r0,r3-r6 rather than r0,r3,r4,r6,r7, which makes it easier to
understand which registers can be modified.  Also document which
registers hold values which must be preserved.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S