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

From: [email-masked] (Rusty Russell)
Date: Fri, 09 Mar 2012 14:56:52 +1030

From: Rusty Russell <[email-masked]>

Signed-off-by: Rusty Russell <[email-masked]>
---
 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)