direct-io.hg

changeset 10399:0d149b326235

[IA64] cleanup warning in xen/arch/ia64/linux-xen/time.c

Remove a wrong cleanup in xen/arch/ia64/linux-xen/time.c
itc_ratio.num and itc_ratio.den are defined u64
in xen/include/asm-ia64/linux-xen/asm/pal.h.
These are the below.

typedef struct pal_freq_ratio {
u64 den : 32, num : 32; /* numerator & denominator */
} itc_ratio, proc_ratio;

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Tue Jun 13 08:55:08 2006 -0600 (2006-06-13)
parents 0a226de3fc37
children 8cc1137a0959
files xen/arch/ia64/linux-xen/time.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/time.c	Tue Jun 13 08:45:22 2006 -0600
     1.2 +++ b/xen/arch/ia64/linux-xen/time.c	Tue Jun 13 08:55:08 2006 -0600
     1.3 @@ -201,11 +201,7 @@ ia64_init_itm (void)
     1.4  	itc_freq = (platform_base_freq*itc_ratio.num)/itc_ratio.den;
     1.5  
     1.6  	local_cpu_data->itm_delta = (itc_freq + HZ/2) / HZ;
     1.7 -#ifdef XEN /* warning cleanup */
     1.8 -	printk(KERN_DEBUG "CPU %d: base freq=%lu.%03luMHz, ITC ratio=%u/%u, "
     1.9 -#else
    1.10  	printk(KERN_DEBUG "CPU %d: base freq=%lu.%03luMHz, ITC ratio=%lu/%lu, "
    1.11 -#endif
    1.12  	       "ITC freq=%lu.%03luMHz", smp_processor_id(),
    1.13  	       platform_base_freq / 1000000, (platform_base_freq / 1000) % 1000,
    1.14  	       itc_ratio.num, itc_ratio.den, itc_freq / 1000000, (itc_freq / 1000) % 1000);