summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/counter.h b/sys/powerpc/include/counter.h
index 94a7df6..81b6bbc 100644
--- a/sys/powerpc/include/counter.h
+++ b/sys/powerpc/include/counter.h
@@ -41,6 +41,8 @@
#define counter_u64_add_protected(c, i) counter_u64_add(c, i)
+extern struct pcpu __pcpu[MAXCPU];
+
static inline void
counter_u64_add(counter_u64_t c, int64_t inc)
{
OpenPOWER on IntegriCloud