diff options
| author | Oleg Drokin <green@linuxhacker.ru> | 2015-03-02 09:01:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-07 03:03:54 +0300 |
| commit | 6301647b1873250cb8aac18e02a4ea062e72278e (patch) | |
| tree | 466ff234c04d11cc93bc1495192591e8f6a90274 /include/linux/node.h | |
| parent | 6ac986d098ee81b75973a0c2f46a9a4edef2a8c6 (diff) | |
| download | linux-6301647b1873250cb8aac18e02a4ea062e72278e.tar.xz | |
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/linux/node.h')
0 files changed, 0 insertions, 0 deletions
