aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/k8topology_64.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c
index 36c6c4a91353..0ea66b532c35 100644
--- a/arch/x86/mm/k8topology_64.c
+++ b/arch/x86/mm/k8topology_64.c
@@ -74,17 +74,12 @@ static __init void early_get_boot_cpu_id(void)
74 74
75int __init k8_scan_nodes(unsigned long start, unsigned long end) 75int __init k8_scan_nodes(unsigned long start, unsigned long end)
76{ 76{
77 unsigned numnodes, cores, bits, apicid_base;
77 unsigned long prevbase; 78 unsigned long prevbase;
78 struct bootnode nodes[8]; 79 struct bootnode nodes[8];
79 int i, nb;
80 unsigned char nodeids[8]; 80 unsigned char nodeids[8];
81 int found = 0; 81 int i, j, nb, found = 0;
82 u32 nodeid, reg; 82 u32 nodeid, reg;
83 unsigned numnodes;
84 unsigned cores;
85 unsigned bits;
86 int j;
87 unsigned apicid_base;
88 83
89 if (!early_pci_allowed()) 84 if (!early_pci_allowed())
90 return -1; 85 return -1;