bitkeeper revision 1.404 (3f57607dkEm0-zZkL-qD7DTt8vKceQ)

apic.c:
  Another bug fix for no-APIC systems.
This commit is contained in:
kaf24@scramble.cl.cam.ac.uk committed 2003-09-04 15:55:41 +00:00
1 parent b57ae3ec73
commit 07e8be555c
1 file changed
+7
+7
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.