sparse mutters:
arch/x86/mm/k8topology_64.c:108:7: warning: symbol 'nodeid' shadows an earlier one
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
{
unsigned long prevbase;
struct bootnode nodes[8];
- int nodeid, i, nb;
+ int i, nb;
unsigned char nodeids[8];
int found = 0;
- u32 reg;
+ u32 nodeid, reg;
unsigned numnodes;
unsigned cores;
unsigned bits;
prevbase = 0;
for (i = 0; i < 8; i++) {
unsigned long base, limit;
- u32 nodeid;
base = read_pci_config(0, nb, 1, 0x40 + i*8);
limit = read_pci_config(0, nb, 1, 0x44 + i*8);