summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2006-10-20 00:32:41 -0700
committerDavid S. Miller <davem@davemloft.net>2006-10-20 00:32:41 -0700
commit58f539740b1ccfc5ef4e509ec2efe82621b546e3 (patch)
treef0e24b555808ce919528a0c5950e188768e97f23 /drivers/bluetooth
parent78d79423179c0efc7ec34b55d287e7be4ca07da6 (diff)
downloadtalos-op-linux-58f539740b1ccfc5ef4e509ec2efe82621b546e3.tar.gz
talos-op-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
OpenPOWER on IntegriCloud