diff options
author | Jan Glauber <jglauber@cavium.com> | 2018-04-09 17:45:54 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-04-21 00:58:36 +0800 |
commit | e7a9b05ca4c707ff4b46a77963db48d085d383e0 (patch) | |
tree | 5837a69df9fc0a92bda3fd9ce830cd417ceb45db /security | |
parent | 1cc7e01ff977770ce0651f4d347a84e360835c3b (diff) | |
download | linux-e7a9b05ca4c707ff4b46a77963db48d085d383e0.tar.bz2 |
crypto: cavium - Fix smp_processor_id() warnings
Switch to raw_smp_processor_id() to prevent a number of
warnings from kernel debugging. We do not care about
preemption here, as the CPU number is only used as a
poor mans load balancing or device selection. If preemption
happens during a compress/decompress operation a small performance
hit will occur but everything will continue to work, so just
ignore it.
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Reviewed-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions