diff options
author | kaf24@labyrinth.cl.cam.ac.uk <kaf24@labyrinth.cl.cam.ac.uk> | 2003-02-21 15:30:00 +0000 |
---|---|---|
committer | kaf24@labyrinth.cl.cam.ac.uk <kaf24@labyrinth.cl.cam.ac.uk> | 2003-02-21 15:30:00 +0000 |
commit | a75def4139bb25ec693d0575af28bb6443daa49d (patch) | |
tree | 08b714a8a604da56781adb883374150bee60cdc9 /xen-2.4.16 | |
parent | 5af90dd261b656deb6f5e486e139a901b55181c7 (diff) | |
download | xen-a75def4139bb25ec693d0575af28bb6443daa49d.tar.gz xen-a75def4139bb25ec693d0575af28bb6443daa49d.tar.bz2 xen-a75def4139bb25ec693d0575af28bb6443daa49d.zip |
bitkeeper revision 1.87 (3e5645f8WsWRq4fdeFv8hAeaMB9cAA)
apic.c:
Reduce error tracing to debug tracing in timer code.
Diffstat (limited to 'xen-2.4.16')
-rw-r--r-- | xen-2.4.16/arch/i386/apic.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xen-2.4.16/arch/i386/apic.c b/xen-2.4.16/arch/i386/apic.c index 691240ad61..b967934e3c 100644 --- a/xen-2.4.16/arch/i386/apic.c +++ b/xen-2.4.16/arch/i386/apic.c @@ -664,8 +664,9 @@ int reprogram_ac_timer(s_time_t timeout) if (expire <= 0) { - printk("APICT[%02d] Timeout in the past 0x%08X%08X > 0x%08X%08X\n", - cpu, (u32)(now>>32), (u32)now, (u32)(timeout>>32),(u32)timeout); + TRC(printk("APICT[%02d] Timeout in the past 0x%08X%08X > 0x%08X%08X\n", + cpu, (u32)(now>>32), (u32)now, + (u32)(timeout>>32),(u32)timeout)); return 0; /* timeout value in the past */ } @@ -673,11 +674,12 @@ int reprogram_ac_timer(s_time_t timeout) apic_tmict = (((u64)bus_scale) * expire)>>18; if (apic_tmict >= 0xffffffff) { + /* This is bad! */ printk("APICT[%02d] Timeout value too large\n", cpu); apic_tmict = 0xffffffff; } if (apic_tmict == 0) { - printk("APICT[%02d] timeout value too small\n", cpu); + TRC(printk("APICT[%02d] timeout value too small\n", cpu)); return 0; } |