mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.404 (3f57607dkEm0-zZkL-qD7DTt8vKceQ)
apic.c: Another bug fix for no-APIC systems.
This commit is contained in:
1 parent
b57ae3ec73
commit
07e8be555c
1 file changed
+7
@@ -683,6 +683,13 @@ int reprogram_ac_timer(s_time_t timeout)
|
||||
return 0; /* timeout value in the past */
|
||||
}
|
||||
|
||||
/*
|
||||
* If we don't have local APIC then we just poll the timer list off the
|
||||
* PIT interrupt. Cheesy but good enough to work on eg. VMware :-)
|
||||
*/
|
||||
if ( !cpu_has_apic )
|
||||
return 1;
|
||||
|
||||
/* conversion to bus units */
|
||||
apic_tmict = (((u64)bus_scale) * expire)>>18;
|
||||
|
||||
|
||||