]> git.baikalelectronics.ru Git - kernel.git/commit
this_cpu: Use this_cpu operations for SNMP statistics
authorChristoph Lameter <cl@linux-foundation.org>
Sat, 3 Oct 2009 10:48:22 +0000 (19:48 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 3 Oct 2009 10:48:22 +0000 (19:48 +0900)
commita804a89b2a7e66477ba83801ad4adae883a76112
treeb89b9235d2c30feced4c564b72d3686ce4ec1a9c
parentfd34ec0ce9f06bb76b0fe4b64950b2f21029dc02
this_cpu: Use this_cpu operations for SNMP statistics

SNMP statistic macros can be signficantly simplified.
This will also reduce code size if the arch supports these operations
in hardware.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/net/snmp.h