projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed840ee
)
kvm/ppc/mpic: fix missing unlock in set_base_addr()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Wed, 1 May 2013 19:17:31 +0000
(19:17 +0000)
committer
Alexander Graf
<agraf@suse.de>
Thu, 2 May 2013 13:28:35 +0000
(15:28 +0200)
Add the missing unlock before return from function set_base_addr()
when disables the mapping.
Introduced by commit
5df554ad5b7522ea62b0ff9d5be35183494efc21
(kvm/ppc/mpic: in-kernel MPIC emulation)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/mpic.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/mpic.c
b/arch/powerpc/kvm/mpic.c
index
eaac187
..
2861ae9
100644
(file)
--- a/
arch/powerpc/kvm/mpic.c
+++ b/
arch/powerpc/kvm/mpic.c
@@
-1486,8
+1486,8
@@
static int set_base_addr(struct openpic *opp, struct kvm_device_attr *attr)
map_mmio(opp);
- mutex_unlock(&opp->kvm->slots_lock);
out:
+ mutex_unlock(&opp->kvm->slots_lock);
return 0;
}