summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2003-03-09 19:56:00 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2003-03-09 19:56:00 -0800
commit332cb5d3c6a90d6c651193d62db228cc06fcc156 (patch)
tree502ba9bb0f4a2f90f3abc5a669969430e033c58d /include/net
parent269b822a87564680bd07bfd6043a82630825e71f (diff)
[SNMP]: Fix SNMP_STAT_{USR,BH}PTR.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/snmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h
index 3b3ed7252d38..0d4dd1c27424 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -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++)