smp.h: fix x86+cpu.c sparse warnings about arch nonboot CPU calls
authorPaul Gortmaker <[email protected]>
Mon, 10 Feb 2014 22:25:49 +0000 (14:25 -0800)
committerLinus Torvalds <[email protected]>
Tue, 11 Feb 2014 00:01:42 +0000 (16:01 -0800)
commitfb37bb04d6c8d6c44e61d9da189dcfa6aa0f135e
tree185f722e735ccef0f71af285e798850befbb1254
parenta0b54adda3fe4b4cc6d28f2a9217cd35d1aa888c
smp.h: fix x86+cpu.c sparse warnings about arch nonboot CPU calls

Use what we already do for arch_disable_smp_support() to fix these:

  arch/x86/kernel/smpboot.c:1155:6: warning: symbol 'arch_enable_nonboot_cpus_begin' was not declared. Should it be static?
  arch/x86/kernel/smpboot.c:1160:6: warning: symbol 'arch_enable_nonboot_cpus_end' was not declared. Should it be static?
  kernel/cpu.c:512:13: warning: symbol 'arch_enable_nonboot_cpus_begin' was not declared. Should it be static?
  kernel/cpu.c:516:13: warning: symbol 'arch_enable_nonboot_cpus_end' was not declared. Should it be static?

Signed-off-by: Paul Gortmaker <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/smp.h