Subject: + smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch added to -mm tree To: paul.gortmaker@xxxxxxxxxxxxx,hpa@xxxxxxxxx,mingo@xxxxxxxxxx,tglx@xxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 07 Feb 2014 14:57:08 -0800 The patch titled Subject: smp.h: fix x86+cpu.c sparse warnings about arch nonboot CPU calls has been added to the -mm tree. Its filename is smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Subject: 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 <paul.gortmaker@xxxxxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/smp.h | 3 +++ 1 file changed, 3 insertions(+) diff -puN include/linux/smp.h~smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls include/linux/smp.h --- a/include/linux/smp.h~smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls +++ a/include/linux/smp.h @@ -188,6 +188,9 @@ static inline void kick_all_cpus_sync(vo */ extern void arch_disable_smp_support(void); +extern void arch_enable_nonboot_cpus_begin(void); +extern void arch_enable_nonboot_cpus_end(void); + void smp_setup_processor_id(void); #endif /* __LINUX_SMP_H */ _ Patches currently in -mm which might be from paul.gortmaker@xxxxxxxxxxxxx are origin.patch smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch kernel-audit-fix-non-modular-users-of-module_init-in-core-code.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html