[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] Register NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ
# HG changeset patch # User awilliam@xxxxxxxxxxxx # Date 1169846377 25200 # Node ID 1faf482f119c0f6f21377d4ff938049e2dbe8404 # Parent b741b300a0f2a3e3b88758da7845a16a9d60ec2c [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@xxxxxxxxxxxxxx> --- xen/arch/ia64/xen/xensetup.c | 5 +++++ xen/include/asm-ia64/flushtlb.h | 1 + 2 files changed, 6 insertions(+) diff -r b741b300a0f2 -r 1faf482f119c xen/arch/ia64/xen/xensetup.c --- a/xen/arch/ia64/xen/xensetup.c Fri Jan 26 14:11:21 2007 -0700 +++ b/xen/arch/ia64/xen/xensetup.c Fri Jan 26 14:19:37 2007 -0700 @@ -26,6 +26,7 @@ #include <asm/vmx.h> #include <linux/efi.h> #include <asm/iosapic.h> +#include <xen/softirq.h> unsigned long xenheap_phys_end, total_pages; @@ -436,6 +437,10 @@ void start_kernel(void) init_xen_time(); /* initialise the time */ timer_init(); +#ifdef CONFIG_XEN_IA64_TLBFLUSH_CLOCK + open_softirq(NEW_TLBFLUSH_CLOCK_PERIOD_SOFTIRQ, new_tlbflush_clock_period); +#endif + #ifdef CONFIG_SMP if ( opt_nosmp ) { diff -r b741b300a0f2 -r 1faf482f119c xen/include/asm-ia64/flushtlb.h --- a/xen/include/asm-ia64/flushtlb.h Fri Jan 26 14:11:21 2007 -0700 +++ b/xen/include/asm-ia64/flushtlb.h Fri Jan 26 14:19:37 2007 -0700 @@ -32,6 +32,7 @@ extern volatile u32 tlbflush_clock; #define tlbflush_current_time() tlbflush_clock u32 tlbflush_clock_inc_and_return(void); +void new_tlbflush_clock_period(void); static inline void tlbflush_update_time(volatile u32* time, u32 timestamp) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |