[PATCH 1/8] ARM: KVM: Fix missing clobber (causes host oops on UP)
From: Rusty Russell
Date: Thu Mar 08 2012 - 23:42:44 EST
From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
---
arch/arm/kvm/arm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 3772847..f27a96b 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -585,7 +585,7 @@ static void cpu_set_vector(void *vector)
"smc #0\n\t" : :
[vector_ptr] "r" (vector_ptr),
[smc_hyp_nr] "r" (smc_hyp_nr) :
- "r0", "r1");
+ "r0", "r1", "r7");
}
static void cpu_init_hyp_mode(void *vector)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/