aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_pcpu.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-11-14 20:38:11 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-11-14 20:38:11 +0000
commit31c6a0037e1a075e397e396a53a3a0822c234122 (patch)
tree2576727bd0fe21df869f8fc8bfe76870b2b049aa /sys/kern/subr_pcpu.c
parent47d46d92c221c8a81f9182b93559bebb618c137a (diff)
downloadsrc-31c6a0037e1a075e397e396a53a3a0822c234122.tar.gz
src-31c6a0037e1a075e397e396a53a3a0822c234122.zip
Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughout
the tree.
Notes
Notes: svn path=/head/; revision=215317
Diffstat (limited to 'sys/kern/subr_pcpu.c')
-rw-r--r--sys/kern/subr_pcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_pcpu.c b/sys/kern/subr_pcpu.c
index 24a12ea67159..4108441372c7 100644
--- a/sys/kern/subr_pcpu.c
+++ b/sys/kern/subr_pcpu.c
@@ -70,7 +70,7 @@ struct dpcpu_free {
TAILQ_ENTRY(dpcpu_free) df_link;
};
-static DPCPU_DEFINE(char, modspace[DPCPU_MODMIN]);
+STATIC_DPCPU_DEFINE(char, modspace[DPCPU_MODMIN]);
static TAILQ_HEAD(, dpcpu_free) dpcpu_head = TAILQ_HEAD_INITIALIZER(dpcpu_head);
static struct sx dpcpu_lock;
uintptr_t dpcpu_off[MAXCPU];