ia64/xen-unstable

changeset 13479:1faf482f119c

[IA64] Register NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ

NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ is used but not registered.
I've never experienced but system will panic in the very long run.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author awilliam@xenbuild2.aw
date Fri Jan 26 14:19:37 2007 -0700 (2007-01-26)
parents b741b300a0f2
children 140afd7a5462
files xen/arch/ia64/xen/xensetup.c xen/include/asm-ia64/flushtlb.h
line diff
     1.1 --- a/xen/arch/ia64/xen/xensetup.c	Fri Jan 26 14:11:21 2007 -0700
     1.2 +++ b/xen/arch/ia64/xen/xensetup.c	Fri Jan 26 14:19:37 2007 -0700
     1.3 @@ -26,6 +26,7 @@
     1.4  #include <asm/vmx.h>
     1.5  #include <linux/efi.h>
     1.6  #include <asm/iosapic.h>
     1.7 +#include <xen/softirq.h>
     1.8  
     1.9  unsigned long xenheap_phys_end, total_pages;
    1.10  
    1.11 @@ -436,6 +437,10 @@ void start_kernel(void)
    1.12      init_xen_time(); /* initialise the time */
    1.13      timer_init();
    1.14  
    1.15 +#ifdef CONFIG_XEN_IA64_TLBFLUSH_CLOCK
    1.16 +    open_softirq(NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ, new_tlbflush_clock_period);
    1.17 +#endif
    1.18 +
    1.19  #ifdef CONFIG_SMP
    1.20      if ( opt_nosmp )
    1.21      {
     2.1 --- a/xen/include/asm-ia64/flushtlb.h	Fri Jan 26 14:11:21 2007 -0700
     2.2 +++ b/xen/include/asm-ia64/flushtlb.h	Fri Jan 26 14:19:37 2007 -0700
     2.3 @@ -32,6 +32,7 @@ extern volatile u32 tlbflush_clock;
     2.4  #define tlbflush_current_time() tlbflush_clock
     2.5  
     2.6  u32 tlbflush_clock_inc_and_return(void);
     2.7 +void new_tlbflush_clock_period(void);
     2.8  
     2.9  static inline void
    2.10  tlbflush_update_time(volatile u32* time, u32 timestamp)