]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: k8topology cleanup variable declarations
authorThomas Gleixner <tglx@linutronix.de>
Mon, 12 May 2008 13:43:35 +0000 (15:43 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:58:26 +0000 (08:58 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/k8topology_64.c

index 36c6c4a91353e3309f7f9a1f9ba69e7995489161..0ea66b532c35fd1c9330734eb61c32f770a82c1b 100644 (file)
@@ -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;