diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2006-10-20 09:32:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-10-20 09:32:41 +0200 |
commit | 58f539740b1ccfc5ef4e509ec2efe82621b546e3 (patch) | |
tree | f0e24b555808ce919528a0c5950e188768e97f23 /drivers/bluetooth | |
parent | [IPV4] inet_peer: Group together avl_left, avl_right, v4daddr to speedup look... (diff) | |
download | linux-58f539740b1ccfc5ef4e509ec2efe82621b546e3.tar.xz linux-58f539740b1ccfc5ef4e509ec2efe82621b546e3.zip |
[NET]: Can use __get_cpu_var() instead of per_cpu() in loopback driver.
As BHs are off in loopback_xmit(), preemption cannot occurs, so we can
use __get_cpu_var() instead of per_cpu() (and avoid a
preempt_enable()/preempt_disable() pair)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions