summaryrefslogtreecommitdiffstats
path: root/sys/net/if_clone.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-11-14 20:38:11 +0000
committerdim <dim@FreeBSD.org>2010-11-14 20:38:11 +0000
commitfda4020a881f36122bca03f2d8327da8bc67863d (patch)
tree2576727bd0fe21df869f8fc8bfe76870b2b049aa /sys/net/if_clone.c
parent7dff36caf76f0b4c09712e32d78cf6ee8f2132c1 (diff)
downloadFreeBSD-src-fda4020a881f36122bca03f2d8327da8bc67863d.zip
FreeBSD-src-fda4020a881f36122bca03f2d8327da8bc67863d.tar.gz
Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughout
the tree.
Diffstat (limited to 'sys/net/if_clone.c')
-rw-r--r--sys/net/if_clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_clone.c b/sys/net/if_clone.c
index c02737b..d07f517 100644
--- a/sys/net/if_clone.c
+++ b/sys/net/if_clone.c
@@ -56,7 +56,7 @@ static int if_clone_createif(struct if_clone *ifc, char *name, size_t len,
caddr_t params);
static struct mtx if_cloners_mtx;
-static VNET_DEFINE(int, if_cloners_count);
+STATIC_VNET_DEFINE(int, if_cloners_count);
VNET_DEFINE(LIST_HEAD(, if_clone), if_cloners);
#define V_if_cloners_count VNET(if_cloners_count)
OpenPOWER on IntegriCloud