X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=mm%2Fallocpercpu.c;h=dfdee6a47359eb9f529733091b6553091a80eebc;hb=718f041835f383780fd45b8424fffa586be6e1f7;hp=1882923bc706071b79f823dd17b8f69d4fccf145;hpb=65a37b29a8d7492f081d4f8da2227467af1c0c1d;p=linux-2.6-omap-h63xx.git diff --git a/mm/allocpercpu.c b/mm/allocpercpu.c index 1882923bc70..dfdee6a4735 100644 --- a/mm/allocpercpu.c +++ b/mm/allocpercpu.c @@ -31,7 +31,7 @@ static void percpu_depopulate(void *__pdata, int cpu) * @__pdata: per-cpu data to depopulate * @mask: depopulate per-cpu data for cpu's selected through mask bits */ -static void __percpu_depopulate_mask(void *__pdata, cpumask_t *mask) +static void __percpu_depopulate_mask(void *__pdata, const cpumask_t *mask) { int cpu; for_each_cpu_mask_nr(cpu, *mask) @@ -143,7 +143,7 @@ void free_percpu(void *__pdata) { if (unlikely(!__pdata)) return; - __percpu_depopulate_mask(__pdata, &cpu_possible_map); + __percpu_depopulate_mask(__pdata, cpu_possible_mask); kfree(__percpu_disguise(__pdata)); } EXPORT_SYMBOL_GPL(free_percpu);