diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-05-12 09:43:35 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 02:58:26 -0400 |
commit | 55d4f22abc9f011c5db982f83377cdd38bb9a2a3 (patch) | |
tree | 66bdffb027c57020b7c5eb9e664cca01c0cd22ef | |
parent | d34c08958fa36c7a8c3f8d9c0ebe6ec1ab744a68 (diff) |
x86: k8topology cleanup variable declarations
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/mm/k8topology_64.c | 9 |
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 | ||
75 | int __init k8_scan_nodes(unsigned long start, unsigned long end) | 75 | int __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; |