mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
ib_srpt: Follow-up for r6410
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6411 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3872,8 +3872,7 @@ static ssize_t store_comp_v_mask(struct kobject *kobj,
|
||||
if (!alloc_cpumask_var(&mask, GFP_KERNEL))
|
||||
goto out;
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
|
||||
res = bitmap_parse(buf, count, cpumask_bits(mask),
|
||||
NR_CPUS);
|
||||
res = bitmap_parse(buf, count, cpumask_bits(mask), nr_cpumask_bits);
|
||||
#else
|
||||
res = cpumask_parse(buf, mask);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user