page allocator: check only once if the zonelist is suitable for the allocation
[sfrench/cifs-2.6.git] / mm / allocpercpu.c
index 139d5b7b6621471ccb88c2ea3dd6b0fe66b15618..dfdee6a47359eb9f529733091b6553091a80eebc 100644 (file)
@@ -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)