Skip to content

Commit

Permalink
x86: k8topology cleanup variable declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed May 25, 2008
1 parent d34c089 commit 55d4f22
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions arch/x86/mm/k8topology_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,12 @@ static __init void early_get_boot_cpu_id(void)

int __init k8_scan_nodes(unsigned long start, unsigned long end)
{
unsigned numnodes, cores, bits, apicid_base;
unsigned long prevbase;
struct bootnode nodes[8];
int i, nb;
unsigned char nodeids[8];
int found = 0;
int i, j, nb, found = 0;
u32 nodeid, reg;
unsigned numnodes;
unsigned cores;
unsigned bits;
int j;
unsigned apicid_base;

if (!early_pci_allowed())
return -1;
Expand Down

0 comments on commit 55d4f22

Please sign in to comment.