ARM: entry: data abort: use r2 as base of pt_regs rather than stack
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 27 Jun 2011 08:52:54 +0000 (09:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Jul 2011 09:56:11 +0000 (10:56 +0100)
commite22c12f9146d50ee6b0cf97db46b3310409f64e6
tree986b832e871dc9703d3b318fbf7c59f21f5c6a85
parentda7404725781bc7c736e10cae5521e5604e222a5
ARM: entry: data abort: use r2 as base of pt_regs rather than stack

Now that we pass r2 into these helper functions as the pointer to
pt_regs, use r2 as the base of the registers on the stack rather
than using the stack pointer directly.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/abort-lv4t.S
arch/arm/mm/proc-arm6_7.S