projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5358a96
)
KVM: PPC: add missing pt_regs initialization
author
Tudor Laurentiu
<b10716@freescale.com>
Mon, 18 May 2015 12:44:27 +0000
(15:44 +0300)
committer
Alexander Graf
<agraf@suse.de>
Sat, 22 Aug 2015 09:16:17 +0000
(11:16 +0200)
On this switch branch the regs initialization
doesn't happen so add it.
This was found with the help of a static
code analysis tool.
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/booke.c
b/arch/powerpc/kvm/booke.c
index cc5842657161580262d10fb49e0bdfde4de497fd..ae458f0fd061efea7cdd569c1bdb32970503659c 100644
(file)
--- a/
arch/powerpc/kvm/booke.c
+++ b/
arch/powerpc/kvm/booke.c
@@
-933,6
+933,7
@@
static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu,
#endif
break;
case BOOKE_INTERRUPT_CRITICAL:
+ kvmppc_fill_pt_regs(®s);
unknown_exception(®s);
break;
case BOOKE_INTERRUPT_DEBUG: