summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/kern/subr_pcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/kern/subr_pcpu.c')
-rw-r--r--freebsd/sys/kern/subr_pcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/kern/subr_pcpu.c b/freebsd/sys/kern/subr_pcpu.c
index 1b866e3a..0ab77996 100644
--- a/freebsd/sys/kern/subr_pcpu.c
+++ b/freebsd/sys/kern/subr_pcpu.c
@@ -75,7 +75,7 @@ struct dpcpu_free {
TAILQ_ENTRY(dpcpu_free) df_link;
};
-static DPCPU_DEFINE(char, modspace[DPCPU_MODMIN]);
+DPCPU_DEFINE_STATIC(char, modspace[DPCPU_MODMIN] __aligned(__alignof(void *)));
static TAILQ_HEAD(, dpcpu_free) dpcpu_head = TAILQ_HEAD_INITIALIZER(dpcpu_head);
static struct sx dpcpu_lock;
uintptr_t dpcpu_off[MAXCPU];