X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=lib%2Fpercpu_counter.c;h=33459e0b8beadedf8f4e6ff175f875bdf641451e;hp=f8a3f1a829b8a9d767bed39c5138c7015380196b;hb=HEAD;hpb=b2409fb6a49d1f633a8fc488e48043da7d3fd6a7 diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index f8a3f1a829b8..33459e0b8bea 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c @@ -166,7 +166,7 @@ static int __cpuinit 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;