ARM: entry: shark: don't directly reference registers in macros
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 26 Jun 2011 09:04:15 +0000 (10:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 28 Jun 2011 09:34:58 +0000 (10:34 +0100)
commit2342aa282b59f028cf0850b483b34587db2c22b0
treeff2f5235b07b0fa2017657254a58bd109e42ae54
parentb6fcd313c9db4f4c4feaf9d5d48b293d5fa27061
ARM: entry: shark: don't directly reference registers in macros

Directly referencing registers in macros makes assembly code harder
to change, because the macros have side effects which are non-obvious.
Use the provided 'base' register rather than directly referencing r4.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-shark/include/mach/entry-macro.S