diff options
Diffstat (limited to 'arch/x86/kvm/i8254.h')
-rw-r--r-- | arch/x86/kvm/i8254.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/x86/kvm/i8254.h b/arch/x86/kvm/i8254.h index 6acbe4b505d5..bbd863ff60b7 100644 --- a/arch/x86/kvm/i8254.h +++ b/arch/x86/kvm/i8254.h | |||
@@ -3,15 +3,6 @@ | |||
3 | 3 | ||
4 | #include "iodev.h" | 4 | #include "iodev.h" |
5 | 5 | ||
6 | struct kvm_kpit_timer { | ||
7 | struct hrtimer timer; | ||
8 | int irq; | ||
9 | s64 period; /* unit: ns */ | ||
10 | s64 scheduled; | ||
11 | atomic_t pending; | ||
12 | bool reinject; | ||
13 | }; | ||
14 | |||
15 | struct kvm_kpit_channel_state { | 6 | struct kvm_kpit_channel_state { |
16 | u32 count; /* can be 65536 */ | 7 | u32 count; /* can be 65536 */ |
17 | u16 latched_count; | 8 | u16 latched_count; |
@@ -30,7 +21,8 @@ struct kvm_kpit_channel_state { | |||
30 | 21 | ||
31 | struct kvm_kpit_state { | 22 | struct kvm_kpit_state { |
32 | struct kvm_kpit_channel_state channels[3]; | 23 | struct kvm_kpit_channel_state channels[3]; |
33 | struct kvm_kpit_timer pit_timer; | 24 | struct kvm_timer pit_timer; |
25 | bool is_periodic; | ||
34 | u32 speaker_data_on; | 26 | u32 speaker_data_on; |
35 | struct mutex lock; | 27 | struct mutex lock; |
36 | struct kvm_pit *pit; | 28 | struct kvm_pit *pit; |