ia64/xen-unstable

changeset 690:cf5bddb3603e

bitkeeper revision 1.404 (3f57607dkEm0-zZkL-qD7DTt8vKceQ)

apic.c:
Another bug fix for no-APIC systems.
author kaf24@scramble.cl.cam.ac.uk
date Thu Sep 04 15:55:41 2003 +0000 (2003-09-04)
parents 10503d29b5f6
children 3744aa0643ce
files xen/arch/i386/apic.c
line diff
     1.1 --- a/xen/arch/i386/apic.c	Thu Sep 04 15:48:10 2003 +0000
     1.2 +++ b/xen/arch/i386/apic.c	Thu Sep 04 15:55:41 2003 +0000
     1.3 @@ -683,6 +683,13 @@ int reprogram_ac_timer(s_time_t timeout)
     1.4          return 0;       /* timeout value in the past */
     1.5      }
     1.6  
     1.7 +    /*
     1.8 +     * If we don't have local APIC then we just poll the timer list off the
     1.9 +     * PIT interrupt. Cheesy but good enough to work on eg. VMware :-)
    1.10 +     */
    1.11 +    if ( !cpu_has_apic )
    1.12 +        return 1;
    1.13 +
    1.14      /* conversion to bus units */
    1.15      apic_tmict = (((u64)bus_scale) * expire)>>18;
    1.16