commit | 58f539740b1ccfc5ef4e509ec2efe82621b546e3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Fri Oct 20 00:32:41 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 20 00:32:41 2006 -0700 |
tree | f0e24b555808ce919528a0c5950e188768e97f23 | |
parent | 78d79423179c0efc7ec34b55d287e7be4ca07da6 [diff] |
[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>