KVM: x86: Consolidate PIT legacy test
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 14 Dec 2011 18:25:33 +0000 (19:25 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:22:30 +0000 (11:22 +0200)
commita647795efbedeedf8a1dc6deded26defa23562bd
treec3682c3068ef23d8bbbc394f47ab1650a86808fc
parentbb5a798ad58996e4d666ead1016705854d5ca616
KVM: x86: Consolidate PIT legacy test

Move the test for KVM_PIT_FLAGS_HPET_LEGACY into create_pit_timer
instead of replicating it on the caller site.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/i8254.c