diff options
author | Jack Steiner <steiner@sgi.com> | 2005-08-11 19:28:00 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-08-18 00:32:24 +0200 |
commit | 470ceb05d9a2b4d61c19fac615a79e56e8401565 (patch) | |
tree | eb9e2b0b971bbe287dd4bef0b46c7307e3258bf0 /arch/ia64/sn/kernel/setup.c | |
parent | [IA64-SGI] - New SN hardware support - cpu_relax (diff) | |
download | linux-470ceb05d9a2b4d61c19fac615a79e56e8401565.tar.xz linux-470ceb05d9a2b4d61c19fac615a79e56e8401565.zip |
[IA64-SGI] - New SN hardware support - ptc_fixes
Shub2 provides a much improved mechanism for issuing internode
TLB purges. Add code to support the newer mechanism. There is also
some debug code (disabled) that is useful for testing.
Collect statistics on the number, type & duration of TLB purges.
This data will be useful for making future improvements in the algorithms.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/setup.c')
-rw-r--r-- | arch/ia64/sn/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index ed77715393ef..6648deb778a6 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c @@ -403,6 +403,7 @@ static void __init sn_init_pdas(char **cmdline_p) memset(nodepdaindr[cnode], 0, sizeof(nodepda_t)); memset(nodepdaindr[cnode]->phys_cpuid, -1, sizeof(nodepdaindr[cnode]->phys_cpuid)); + spin_lock_init(&nodepdaindr[cnode]->ptc_lock); } /* |