]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/percpu_counter.c
x86/mmiotrace: uses/depends on PCI
[linux-2.6-omap-h63xx.git] / lib / percpu_counter.c
index 393a0e915c23b252b747c62645beb463e25843ed..119174494cb5c096eaf5b1da239dbd5a4040ebc0 100644 (file)
@@ -102,6 +102,7 @@ void percpu_counter_destroy(struct percpu_counter *fbc)
                return;
 
        free_percpu(fbc->counters);
+       fbc->counters = NULL;
 #ifdef CONFIG_HOTPLUG_CPU
        mutex_lock(&percpu_counters_lock);
        list_del(&fbc->list);