summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/booke.h
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2009-01-03 23:23:12 +0100
committerAvi Kivity <avi@redhat.com>2009-03-24 10:02:59 +0100
commitbdc89f13ec955c14777d5caf02dfca3f51d639bd (patch)
tree3c85ecba0c0a14556c7cac6cfb287dd74944989e /arch/powerpc/kvm/booke.h
parentKVM: ppc: Add kvmppc_mmu_dtlb/itlb_miss for booke (diff)
downloadlinux-bdc89f13ec955c14777d5caf02dfca3f51d639bd.tar.xz
linux-bdc89f13ec955c14777d5caf02dfca3f51d639bd.zip
KVM: ppc: distinguish between interrupts and priorities
Although BOOKE_MAX_INTERRUPT has the right value, the meaning is not match. Signed-off-by: Liu Yu <yu.liu@freescale.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/booke.h')
-rw-r--r--arch/powerpc/kvm/booke.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.h b/arch/powerpc/kvm/booke.h
index 311fdbc23fbe..7ceeb3e739b4 100644
--- a/arch/powerpc/kvm/booke.h
+++ b/arch/powerpc/kvm/booke.h
@@ -42,6 +42,7 @@
#define BOOKE_IRQPRIO_EXTERNAL 13
#define BOOKE_IRQPRIO_FIT 14
#define BOOKE_IRQPRIO_DECREMENTER 15
+#define BOOKE_IRQPRIO_MAX 15
/* Helper function for "full" MSR writes. No need to call this if only EE is
* changing. */