The patch titled cpu hotplug: add hotplug versions of cpu_notifier has been added to the -mm tree. Its filename is cpu-hotplug-add-hotplug-versions-of-cpu_notifier.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: cpu hotplug: add hotplug versions of cpu_notifier From: Chandra Seetharaman <sekharan@xxxxxxxxxx> Define new macros register_hotcpu_notifier() and unregister_hotcpu_notifier() that redefines register_cpu_notifier() and unregister_cpu_notifier() for use only when HOTPLUG_CPU is defined. Signed-off-by: Chandra Seetharaman <sekharan@xxxxxxxxxx> Cc: Ashok Raj <ashok.raj@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN include/linux/cpu.h~cpu-hotplug-add-hotplug-versions-of-cpu_notifier include/linux/cpu.h --- a/include/linux/cpu.h~cpu-hotplug-add-hotplug-versions-of-cpu_notifier +++ a/include/linux/cpu.h @@ -79,6 +79,8 @@ extern int lock_cpu_hotplug_interruptibl { .notifier_call = fn, .priority = pri }; \ register_cpu_notifier(&fn##_nb); \ } +#define register_hotcpu_notifier(nb) register_cpu_notifier(nb) +#define unregister_hotcpu_notifier(nb) unregister_cpu_notifier(nb) int cpu_down(unsigned int cpu); #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) #else @@ -86,6 +88,8 @@ int cpu_down(unsigned int cpu); #define unlock_cpu_hotplug() do { } while (0) #define lock_cpu_hotplug_interruptible() 0 #define hotcpu_notifier(fn, pri) +#define register_hotcpu_notifier(nb) +#define unregister_hotcpu_notifier(nb) /* CPUs don't go offline once they're online w/o CONFIG_HOTPLUG_CPU */ static inline int cpu_is_offline(int cpu) { return 0; } _ Patches currently in -mm which might be from sekharan@xxxxxxxxxx are cpu-hotplug-revert-init-patch-submitted-for-2617.patch cpu-hotplug-revert-initdata-patch-submitted-for-2617.patch cpu-hotplug-make-register_cpu_notifier-init-time-only.patch cpu-hotplug-make-cpu_notifier-related-notifier-blocks-__cpuinit-only.patch cpu-hotplug-make-cpu_notifier-related-notifier-calls-__cpuinit-only.patch cpu-hotplug-add-hotplug-versions-of-cpu_notifier.patch cpu-hotplug-use-hotplug-version-of-cpu-notifier-in-appropriate-places.patch per-task-delay-accounting-cpu-delay-collection-via-schedstats.patch task-watchers-task-watchers.patch task-watchers-task-watchers-tidy.patch task-watchers-register-per-task-delay-accounting.patch task-watchers-add-support-for-per-task-watchers.patch task-watchers-add-support-for-per-task-watchers-warning-fix.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