commit | ada7ba17b4054f303ad62d91ffd22bc4afad1657 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Apr 16 00:11:56 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:18:51 2010 +0300 |
tree | ec3ae04af0b79b74d850060b165f5898fbe85008 | |
parent | 218d169c4c856eee7df56ea0fb8cbb32167e63d3 [diff] |
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>