ia64/xen-unstable

changeset 2782:c48afdf6aa0f

bitkeeper revision 1.1159.1.311 (41837ba99JEAnriHhRYNK8iMktj80A)

Properly initialise the timer_tsc module.
author kaf24@freefall.cl.cam.ac.uk
date Sat Oct 30 11:31:53 2004 +0000 (2004-10-30)
parents 10ffc8273164
children 86d715dd8522
files linux-2.6.9-xen-sparse/arch/xen/i386/kernel/time.c
line diff
     1.1 --- a/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/time.c	Fri Oct 29 18:14:17 2004 +0000
     1.2 +++ b/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/time.c	Sat Oct 30 11:31:53 2004 +0000
     1.3 @@ -627,6 +627,8 @@ void __init time_init(void)
     1.4  	wall_to_monotonic.tv_nsec = -xtime.tv_nsec;
     1.5  	processed_system_time = shadow_system_time;
     1.6  
     1.7 +	if (cur_timer->init(NULL) != 0)
     1.8 +		BUG();
     1.9  	printk(KERN_INFO "Using %s for high-res timesource\n",cur_timer->name);
    1.10  
    1.11  	time_irq = bind_virq_to_irq(VIRQ_TIMER);