]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Check max IRQ prio
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:56 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:51 +0000 (12:18 +0300)
commita846c0c47fbeb65178360cee57c0221b7219bd4a
treeec3ae04af0b79b74d850060b165f5898fbe85008
parent9dd1238264f8f8027a9902014f7b96f84352f0c7
KVM: PPC: Check max IRQ prio

We have a define on what the highest bit of IRQ priorities is. So we can
just as well use it in the bit checking code and avoid invalid IRQ values
to be triggered.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c