arm64: Correctly report LR and SP for compat tasks
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 17 Sep 2013 17:49:46 +0000 (18:49 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 19:00:46 +0000 (20:00 +0100)
commit37f03baee485e2031b2226d77e4ae4c6f28ff390
tree04a4760a02c5b172267ae20ec4d1b35e3c6b0982
parent08868ba57e4ec7729db37199e65480dadd9f5d30
arm64: Correctly report LR and SP for compat tasks

When a task crashes and we print debugging information, ensure that
compat tasks show the actual AArch32 LR and SP registers rather than the
AArch64 ones.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 6ca68e802612c87c31aa83d50c37ed0d88774a46)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/process.c