aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 2011ad8d2697..da31165fd298 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -149,7 +149,7 @@ int __cpuinit register_cpu_notifier(struct notifier_block *nb)
149 149
150EXPORT_SYMBOL(register_cpu_notifier); 150EXPORT_SYMBOL(register_cpu_notifier);
151 151
152void unregister_cpu_notifier(struct notifier_block *nb) 152void __ref unregister_cpu_notifier(struct notifier_block *nb)
153{ 153{
154 cpu_maps_update_begin(); 154 cpu_maps_update_begin();
155 raw_notifier_chain_unregister(&cpu_chain, nb); 155 raw_notifier_chain_unregister(&cpu_chain, nb);