]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/module.c
percpu, module: implement reserved allocation and use it for module percpu variables
[net-next-2.6.git] / kernel / module.c
index 1f0657ae555b15eadbb10658a02665bad204e828..f0e04d6b67d8cb325526dce1fdb456265ba3f926 100644 (file)
@@ -381,7 +381,7 @@ static void *percpu_modalloc(unsigned long size, unsigned long align,
                align = PAGE_SIZE;
        }
 
-       ptr = __alloc_percpu(size, align);
+       ptr = __alloc_reserved_percpu(size, align);
        if (!ptr)
                printk(KERN_WARNING
                       "Could not allocate %lu bytes percpu data\n", size);