summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-03-02 01:01:46 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-06 16:03:54 -0800
commit6301647b1873250cb8aac18e02a4ea062e72278e (patch)
tree466ff234c04d11cc93bc1495192591e8f6a90274 /include
parent6ac986d098ee81b75973a0c2f46a9a4edef2a8c6 (diff)
staging/lustre/ptlrpc: Do not use deprecated cpus_* functions
As per Rusty Russel, cpus_* functions are deprecated. When mixing cpumask_copy with cpus_weight, they operate on different sized masks if CPUMASK_OFFSTACK is enabled, causing an immediate assertion failure. Copying of cpumasks by assignment is also not allowed now. Additionally, in ptlrpc/service.c avoid the cpumask copies, since we only use it to check how many siblings are there for core #0 and nothing else. Reported-by: Tyson Whitehead <twhitehead@gmail.com> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions