mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
net: snmp: kill STATS_BH macros
There is nothing related to BH in SNMP counters anymore, since linux-3.0. Rename helpers to use __ prefix instead of _BH prefix, for contexts where preemption is disabled. This more closely matches convention used to update percpu variables. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f3832ed2c2
commit
13415e46c5
8 changed files with 45 additions and 45 deletions
|
|
@ -199,7 +199,7 @@ struct dccp_mib {
|
|||
|
||||
DECLARE_SNMP_STAT(struct dccp_mib, dccp_statistics);
|
||||
#define DCCP_INC_STATS(field) SNMP_INC_STATS(dccp_statistics, field)
|
||||
#define __DCCP_INC_STATS(field) SNMP_INC_STATS_BH(dccp_statistics, field)
|
||||
#define __DCCP_INC_STATS(field) __SNMP_INC_STATS(dccp_statistics, field)
|
||||
#define DCCP_DEC_STATS(field) SNMP_DEC_STATS(dccp_statistics, field)
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue