ia64/xen-unstable

changeset 229:fa6d46f14a6e

bitkeeper revision 1.87 (3e5645f8WsWRq4fdeFv8hAeaMB9cAA)

apic.c:
Reduce error tracing to debug tracing in timer code.
author kaf24@labyrinth.cl.cam.ac.uk
date Fri Feb 21 15:30:00 2003 +0000 (2003-02-21)
parents 5636f106ea84
children a9994f1785cb
files xen-2.4.16/arch/i386/apic.c
line diff
     1.1 --- a/xen-2.4.16/arch/i386/apic.c	Fri Feb 21 15:13:13 2003 +0000
     1.2 +++ b/xen-2.4.16/arch/i386/apic.c	Fri Feb 21 15:30:00 2003 +0000
     1.3 @@ -664,8 +664,9 @@ int reprogram_ac_timer(s_time_t timeout)
     1.4  
     1.5  
     1.6  	if (expire <= 0) {
     1.7 -		printk("APICT[%02d] Timeout in the past 0x%08X%08X > 0x%08X%08X\n", 
     1.8 -			   cpu, (u32)(now>>32), (u32)now, (u32)(timeout>>32),(u32)timeout);
     1.9 +		TRC(printk("APICT[%02d] Timeout in the past 0x%08X%08X > 0x%08X%08X\n", 
    1.10 +                   cpu, (u32)(now>>32), (u32)now, 
    1.11 +                   (u32)(timeout>>32),(u32)timeout));
    1.12  		return 0;		/* timeout value in the past */
    1.13  	}
    1.14  
    1.15 @@ -673,11 +674,12 @@ int reprogram_ac_timer(s_time_t timeout)
    1.16  	apic_tmict = (((u64)bus_scale) * expire)>>18;
    1.17  
    1.18  	if (apic_tmict >= 0xffffffff) {
    1.19 +        /* This is bad! */
    1.20  		printk("APICT[%02d] Timeout value too large\n", cpu);
    1.21  		apic_tmict = 0xffffffff;
    1.22  	}
    1.23  	if (apic_tmict == 0) {
    1.24 -		printk("APICT[%02d] timeout value too small\n", cpu);
    1.25 +		TRC(printk("APICT[%02d] timeout value too small\n", cpu));
    1.26  		return 0;
    1.27  	}
    1.28