aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm/interrupts.S
diff options
context:
space:
mode:
authorJonghwan Choi <jhbird.choi@samsung.com>2013-02-19 01:19:32 -0500
committerChristoffer Dall <cdall@cs.columbia.edu>2013-03-06 18:48:42 -0500
commit0b5e3bac30c545720f7e6b026241b5f8dd832df2 (patch)
tree959f2a25426414c16b3afddd8623d6a2ada40374 /arch/arm/kvm/interrupts.S
parentb0af9cd9aab60ceb17d3ebabb9fdf4ff0a99cf50 (diff)
KVM: ARM: Fix wrong address in comment
hyp_hvc vector offset is 0x14 and hyp_svc vector offset is 0x8. Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com> Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/kvm/interrupts.S')
-rw-r--r--arch/arm/kvm/interrupts.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kvm/interrupts.S b/arch/arm/kvm/interrupts.S
index 8ca87ab0919d..a8e0c2d85cb5 100644
--- a/arch/arm/kvm/interrupts.S
+++ b/arch/arm/kvm/interrupts.S
@@ -235,9 +235,9 @@ ENTRY(kvm_call_hyp)
235 * instruction is issued since all traps are disabled when running the host 235 * instruction is issued since all traps are disabled when running the host
236 * kernel as per the Hyp-mode initialization at boot time. 236 * kernel as per the Hyp-mode initialization at boot time.
237 * 237 *
238 * HVC instructions cause a trap to the vector page + offset 0x18 (see hyp_hvc 238 * HVC instructions cause a trap to the vector page + offset 0x14 (see hyp_hvc
239 * below) when the HVC instruction is called from SVC mode (i.e. a guest or the 239 * below) when the HVC instruction is called from SVC mode (i.e. a guest or the
240 * host kernel) and they cause a trap to the vector page + offset 0xc when HVC 240 * host kernel) and they cause a trap to the vector page + offset 0x8 when HVC
241 * instructions are called from within Hyp-mode. 241 * instructions are called from within Hyp-mode.
242 * 242 *
243 * Hyp-ABI: Calling HYP-mode functions from host (in SVC mode): 243 * Hyp-ABI: Calling HYP-mode functions from host (in SVC mode):