diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2003-09-04 15:55:41 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2003-09-04 15:55:41 +0000 |
commit | 07e8be555cee5cc5d717c005f801d638f8d1495f (patch) | |
tree | 83f182c9d9300287f0cdbbd739551539e88db7d5 /xen | |
parent | b57ae3ec73a40518d79a83b24a6ce9b66cfa6636 (diff) | |
download | xen-07e8be555cee5cc5d717c005f801d638f8d1495f.tar.gz xen-07e8be555cee5cc5d717c005f801d638f8d1495f.tar.bz2 xen-07e8be555cee5cc5d717c005f801d638f8d1495f.zip |
bitkeeper revision 1.404 (3f57607dkEm0-zZkL-qD7DTt8vKceQ)
apic.c:
Another bug fix for no-APIC systems.
Diffstat (limited to 'xen')
-rw-r--r-- | xen/arch/i386/apic.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/arch/i386/apic.c b/xen/arch/i386/apic.c index ecc96eab2f..f2ea5bd4a0 100644 --- a/xen/arch/i386/apic.c +++ b/xen/arch/i386/apic.c @@ -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; |