|
@@ -1829,10 +1829,10 @@ static int drbd_nl_syncer_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *n
|
|
|
|
|
|
/* silently ignore cpu mask on UP kernel */
|
|
/* silently ignore cpu mask on UP kernel */
|
|
if (nr_cpu_ids > 1 && sc.cpu_mask[0] != 0) {
|
|
if (nr_cpu_ids > 1 && sc.cpu_mask[0] != 0) {
|
|
- err = __bitmap_parse(sc.cpu_mask, 32, 0,
|
|
|
|
|
|
+ err = bitmap_parse(sc.cpu_mask, 32,
|
|
cpumask_bits(new_cpu_mask), nr_cpu_ids);
|
|
cpumask_bits(new_cpu_mask), nr_cpu_ids);
|
|
if (err) {
|
|
if (err) {
|
|
- dev_warn(DEV, "__bitmap_parse() failed with %d\n", err);
|
|
|
|
|
|
+ dev_warn(DEV, "bitmap_parse() failed with %d\n", err);
|
|
retcode = ERR_CPU_MASK_PARSE;
|
|
retcode = ERR_CPU_MASK_PARSE;
|
|
goto fail;
|
|
goto fail;
|
|
}
|
|
}
|