diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 29de1a9352c0..217fd2e7f435 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
@@ -659,7 +659,6 @@ void __init cpuhp_threads_init(void) | |||
659 | kthread_unpark(this_cpu_read(cpuhp_state.thread)); | 659 | kthread_unpark(this_cpu_read(cpuhp_state.thread)); |
660 | } | 660 | } |
661 | 661 | ||
662 | #ifdef CONFIG_HOTPLUG_CPU | ||
663 | EXPORT_SYMBOL(register_cpu_notifier); | 662 | EXPORT_SYMBOL(register_cpu_notifier); |
664 | EXPORT_SYMBOL(__register_cpu_notifier); | 663 | EXPORT_SYMBOL(__register_cpu_notifier); |
665 | void unregister_cpu_notifier(struct notifier_block *nb) | 664 | void unregister_cpu_notifier(struct notifier_block *nb) |
@@ -676,6 +675,7 @@ void __unregister_cpu_notifier(struct notifier_block *nb) | |||
676 | } | 675 | } |
677 | EXPORT_SYMBOL(__unregister_cpu_notifier); | 676 | EXPORT_SYMBOL(__unregister_cpu_notifier); |
678 | 677 | ||
678 | #ifdef CONFIG_HOTPLUG_CPU | ||
679 | /** | 679 | /** |
680 | * clear_tasks_mm_cpumask - Safely clear tasks' mm_cpumask for a CPU | 680 | * clear_tasks_mm_cpumask - Safely clear tasks' mm_cpumask for a CPU |
681 | * @cpu: a CPU id | 681 | * @cpu: a CPU id |