arch/x86/kernel/smpboot.c: fix warning
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 4 Jul 2008 10:36:21 +0000 (12:36 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 06:18:39 +0000 (08:18 +0200)
arch/x86/kernel/smpboot.c: In function 'do_boot_cpu':
arch/x86/kernel/smpboot.c:943: warning: label 'restore_state' defined but not used

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c

index e1200b202ed7b3cd5d81643707b10dbfc37c5679..f35c2d8016ac412c1c0433bf4382829c1d2cef31 100644 (file)
@@ -939,9 +939,9 @@ do_rest:
                                inquire_remote_apic(apicid);
                }
        }
-
+#ifdef CONFIG_X86_64
 restore_state:
-
+#endif
        if (boot_error) {
                /* Try to put things back the way they were before ... */
                numa_remove_cpu(cpu); /* was set by numa_add_cpu */