ARM: hyp: initialize CNTVOFF to zero
authorMarc Zyngier <Marc.Zyngier@arm.com>
Wed, 30 Jan 2013 18:17:49 +0000 (18:17 +0000)
committerMark Rutland <mark.rutland@arm.com>
Fri, 7 Jun 2013 09:20:27 +0000 (10:20 +0100)
commit0af0b189abf73d232af782df2f999235cd2fed7f
tree69c6a762517b8db6fe6902cdac2f0ba3c16ec3d1
parente4aa937ec75df0eea0bee03bffa3303ad36c986b
ARM: hyp: initialize CNTVOFF to zero

In order to be able to use the virtual counter in a safe way,
make sure it is initialized to zero before dropping to SVC.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Dave Martin <dave.martin@linaro.org>
arch/arm/kernel/hyp-stub.S