OSDN Git Service

ARM: hyp-stub: Use r1 for the soft-restart address
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Apr 2017 18:37:49 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:25 +0000 (07:49 -0700)
commit6b52f7bdb8883b9c6a47a5558e6b08834c952fb3
tree2077edbd0f9c404f671d1c053a5c65ce9b831b2c
parent6b85677c38510e09d482a9bd57000a099003a898
ARM: hyp-stub: Use r1 for the soft-restart address

It is not really obvious why the restart address should be in r3
when communicated to the hyp-stub. r1 should be perfectly adequate,
and consistent with the rest of the code.

Tested-by: Keerthy <j-keerthy@ti.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/kernel/hyp-stub.S