Commit 332cb5d3 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

[SNMP]: Fix SNMP_STAT_{USR,BH}PTR.

parent 269b822a
......@@ -299,8 +299,8 @@ struct linux_mib
#define DECLARE_SNMP_STAT(type, name) \
extern __typeof__(type) *name[2]
#define SNMP_STAT_USRPTR(name) (name[0])
#define SNMP_STAT_BHPTR(name) (name[1])
#define SNMP_STAT_BHPTR(name) (name[0])
#define SNMP_STAT_USRPTR(name) (name[1])
#define SNMP_INC_STATS_BH(mib, field) \
(per_cpu_ptr(mib[0], smp_processor_id())->field++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment