diff --git a/sys/powerpc/include/counter.h b/sys/powerpc/include/counter.h index 94a7df6b026f..81b6bbcaba6a 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) {