The patch titled cpuhotplug: remove cpu_hotplug_init() has been removed from the -mm tree. Its filename was cpuhotplug-remove-cpu_hotplug_init.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: cpuhotplug: remove cpu_hotplug_init() From: Lai Jiangshan <laijs@xxxxxxxxxxxxxx> We can do all this at compile time. Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx> Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Cc: Gautham R Shenoy <ego@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/cpu.h | 5 ----- init/main.c | 1 - kernel/cpu.c | 11 +++-------- 3 files changed, 3 insertions(+), 14 deletions(-) diff -puN include/linux/cpu.h~cpuhotplug-remove-cpu_hotplug_init include/linux/cpu.h --- a/include/linux/cpu.h~cpuhotplug-remove-cpu_hotplug_init +++ a/include/linux/cpu.h @@ -69,7 +69,6 @@ static inline void unregister_cpu_notifi int cpu_up(unsigned int cpu); void notify_cpu_starting(unsigned int cpu); -extern void cpu_hotplug_init(void); extern void cpu_maps_update_begin(void); extern void cpu_maps_update_done(void); @@ -84,10 +83,6 @@ static inline void unregister_cpu_notifi { } -static inline void cpu_hotplug_init(void) -{ -} - static inline void cpu_maps_update_begin(void) { } diff -puN init/main.c~cpuhotplug-remove-cpu_hotplug_init init/main.c --- a/init/main.c~cpuhotplug-remove-cpu_hotplug_init +++ a/init/main.c @@ -650,7 +650,6 @@ asmlinkage void __init start_kernel(void page_cgroup_init(); mem_init(); enable_debug_pagealloc(); - cpu_hotplug_init(); kmem_cache_init(); kmemtrace_init(); kmemleak_init(); diff -puN kernel/cpu.c~cpuhotplug-remove-cpu_hotplug_init kernel/cpu.c --- a/kernel/cpu.c~cpuhotplug-remove-cpu_hotplug_init +++ a/kernel/cpu.c @@ -34,14 +34,9 @@ static struct { * an ongoing cpu hotplug operation. */ int refcount; -} cpu_hotplug; - -void __init cpu_hotplug_init(void) -{ - cpu_hotplug.active_writer = NULL; - mutex_init(&cpu_hotplug.lock); - cpu_hotplug.refcount = 0; -} +} cpu_hotplug = { + .lock = __MUTEX_INITIALIZER(cpu_hotplug.lock), +}; #ifdef CONFIG_HOTPLUG_CPU _ Patches currently in -mm which might be from laijs@xxxxxxxxxxxxxx are linux-next.patch workqueue-avoid-recursion-in-run_workqueue.patch cpu-hotplug-remove-unused-cpuhotplug_mutex_lock.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