Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux.git] / lib / percpu_counter.c
index 8280a5dd172780371711743d297fcd0fd4e4360a..7dd33577b9058ea1569eda068ea437079f5bc65e 100644 (file)
@@ -169,7 +169,7 @@ static int percpu_counter_hotcpu_callback(struct notifier_block *nb,
        struct percpu_counter *fbc;
 
        compute_batch_value();
-       if (action != CPU_DEAD)
+       if (action != CPU_DEAD && action != CPU_DEAD_FROZEN)
                return NOTIFY_OK;
 
        cpu = (unsigned long)hcpu;