ia64/xen-unstable

changeset 935:87d895822ab8

bitkeeper revision 1.595 (3fb2342et94IEebbXW4EukwRN6mstQ)

time.c:
Fix uptime for xenolinux.
author kaf24@scramble.cl.cam.ac.uk
date Wed Nov 12 13:22:54 2003 +0000 (2003-11-12)
parents 7c889292df89
children 464dff9c4e15
files xenolinux-2.4.22-sparse/arch/xeno/kernel/time.c
line diff
     1.1 --- a/xenolinux-2.4.22-sparse/arch/xeno/kernel/time.c	Wed Nov 12 10:52:17 2003 +0000
     1.2 +++ b/xenolinux-2.4.22-sparse/arch/xeno/kernel/time.c	Wed Nov 12 13:22:54 2003 +0000
     1.3 @@ -494,6 +494,9 @@ void __init time_init(void)
     1.4      st_scale_f = scale & 0xffffffff;
     1.5      st_scale_i = scale >> 32;
     1.6  
     1.7 +    get_time_values_from_xen();
     1.8 +    processed_system_time = shadow_system_time;
     1.9 +
    1.10      setup_irq(TIMER_IRQ, &irq_timer);
    1.11  
    1.12      rdtscll(alarm);