Skip to contentSkip to conversation

smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 11, 2014

lore
Share & tools
lore
#0 lore raw

Subject: [merged] smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 11 Feb 2014 11:23:46 -0800

The patch titled
Subject: smp.h: fix x86+cpu.c sparse warnings about arch nonboot CPU calls
has been removed from the -mm tree. Its filename was
smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Paul Gortmaker <[email protected]>
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?

Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>

---

 include/linux/smp.h |    3 +++
 1 file changed, 3 insertions(+)
include/linux/smp.h renamed from include/linux/smp.h~smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls +3 -0
diff -puN include/linux/smp.h~smph-fix-x86cpuc-sparse-warnings-about-arch-nonboot-cpu-calls 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 [email protected] are

origin.patch kernel-audit-fix-non-modular-users-of-module_init-in-core-code.patch linux-next.patch