lkml.org 
[lkml]   [2012]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH 1/8] ARM: KVM: Fix missing clobber (causes host oops on UP)

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

Signed-off-by: Rusty Russell <rusty@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)


\
 
 \ /
  Last update: 2012-03-09 05:45    [W:0.029 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site