direct-io.hg

changeset 15103:1a010d9444ba

[IA64] Prevent softlock up message when domain is restored.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Mon May 07 13:12:44 2007 -0600 (2007-05-07)
parents 7c176473786b
children 4b4db1f10147
files linux-2.6-xen-sparse/arch/ia64/kernel/time.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/time.c	Mon May 07 10:37:16 2007 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/time.c	Mon May 07 13:12:44 2007 -0600
     1.3 @@ -322,6 +322,8 @@ time_resume(void)
     1.4  
     1.5  	for_each_online_cpu(cpu)
     1.6  		init_missing_ticks_accounting(cpu);
     1.7 +
     1.8 +	touch_softlockup_watchdog();
     1.9  }
    1.10  #else
    1.11  #define init_missing_ticks_accounting(cpu) do {} while (0)
    1.12 @@ -412,6 +414,9 @@ ia64_init_itm (void)
    1.13  	if (is_running_on_xen())
    1.14  		init_missing_ticks_accounting(smp_processor_id());
    1.15  
    1.16 +	/* avoid softlock up message when cpu is unplug and plugged again. */
    1.17 +	touch_softlockup_watchdog();
    1.18 +
    1.19  	/* Setup the CPU local timer tick */
    1.20  	ia64_cpu_local_tick();
    1.21  }