[PATCH 1/8] ARM: KVM: Fix missing clobber (causes host oops on UP)

Rusty Russell rusty at rustcorp.com.au
Thu Mar 8 23:26:52 EST 2012


From: Rusty Russell <rusty at rustcorp.com.au>

Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
---
 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)




More information about the linux-arm-kernel mailing list