projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8e4ef8
)
KVM: PPC: booke: BOOKE_IRQPRIO_MAX is n+1
author
Alexander Graf
<agraf@suse.de>
Thu, 16 Feb 2012 14:12:46 +0000
(14:12 +0000)
committer
Avi Kivity
<avi@redhat.com>
Sun, 8 Apr 2012 09:55:06 +0000
(12:55 +0300)
The semantics of BOOKE_IRQPRIO_MAX changed to denote the highest available
irqprio + 1, so let's reflect that in the code too.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/booke.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/booke.c
b/arch/powerpc/kvm/booke.c
index 3da0e42733897b53e52ea4158289f3ae7083212f..11b06251e42e7dc4705a3889e671d1dd24deb1d5 100644
(file)
--- a/
arch/powerpc/kvm/booke.c
+++ b/
arch/powerpc/kvm/booke.c
@@
-425,7
+425,7
@@
static void kvmppc_core_check_exceptions(struct kvm_vcpu *vcpu)
}
priority = __ffs(*pending);
- while (priority <
=
BOOKE_IRQPRIO_MAX) {
+ while (priority < BOOKE_IRQPRIO_MAX) {
if (kvmppc_booke_irqprio_deliver(vcpu, priority))
break;