diff options
Diffstat (limited to 'arch/x86/kernel/tlb_uv.c')
-rw-r--r-- | arch/x86/kernel/tlb_uv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/tlb_uv.c b/arch/x86/kernel/tlb_uv.c index 8afb69180c9b..deb5ebb32c3b 100644 --- a/arch/x86/kernel/tlb_uv.c +++ b/arch/x86/kernel/tlb_uv.c | |||
@@ -751,7 +751,7 @@ static int __init uv_bau_init(void) | |||
751 | int node; | 751 | int node; |
752 | int nblades; | 752 | int nblades; |
753 | int last_blade; | 753 | int last_blade; |
754 | int cur_cpu = 0; | 754 | int cur_cpu; |
755 | 755 | ||
756 | if (!is_uv_system()) | 756 | if (!is_uv_system()) |
757 | return 0; | 757 | return 0; |
@@ -765,6 +765,7 @@ static int __init uv_bau_init(void) | |||
765 | uv_mmask = (1UL << uv_hub_info->n_val) - 1; | 765 | uv_mmask = (1UL << uv_hub_info->n_val) - 1; |
766 | nblades = 0; | 766 | nblades = 0; |
767 | last_blade = -1; | 767 | last_blade = -1; |
768 | cur_cpu = 0; | ||
768 | for_each_online_node(node) { | 769 | for_each_online_node(node) { |
769 | blade = uv_node_to_blade_id(node); | 770 | blade = uv_node_to_blade_id(node); |
770 | if (blade == last_blade) | 771 | if (blade == last_blade) |