summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/kern/subr_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/kern/subr_counter.c')
-rw-r--r--freebsd/sys/kern/subr_counter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/kern/subr_counter.c b/freebsd/sys/kern/subr_counter.c
index 66cda02b..2855a5d2 100644
--- a/freebsd/sys/kern/subr_counter.c
+++ b/freebsd/sys/kern/subr_counter.c
@@ -174,3 +174,6 @@ counter_ratecheck(struct counter_rate *cr, int64_t limit)
return (val);
}
+#ifdef __rtems__
+uint64_t _bsd_early_counter[_BSD_EARLY_COUNTER_SIZE];
+#endif /* __rtems__ */