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)
commit4eb41d10c7ab419a1408bed2e63a9c0fdfa38844
treeb89b9235d2c30feced4c564b72d3686ce4ec1a9c
parent30ed1a79f5bf271d33e782afee3323582dcc621e
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