diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-09-05 20:00:52 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-09-06 18:37:44 +0300 |
commit | a50abc3b2b469ee80bc0f9ef5b6d457ef72659a9 (patch) | |
tree | b091f3302cd2bfd6452630655029f39b4d1ce6b1 /Documentation | |
parent | KVM: emulator: optimize "rep ins" handling (diff) | |
download | linux-dev-a50abc3b2b469ee80bc0f9ef5b6d457ef72659a9.tar.xz linux-dev-a50abc3b2b469ee80bc0f9ef5b6d457ef72659a9.zip |
KVM: use symbolic constant for nr interrupts
interrupt_bitmap is KVM_NR_INTERRUPTS bits in size,
so just use that instead of hard-coded constants
and math.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions