Skip to content

Commit

Permalink
arch/x86/kernel/smpboot.c: fix warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Ingo Molnar committed Jul 9, 2008
1 parent 7b4fd4b commit 6f585e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,9 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu)
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 */
Expand Down

0 comments on commit 6f585e0

Please sign in to comment.