X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Fsmp.h;h=78b1851fff12f2cbde6539f68b257374ba29a249;hb=3d3a2bb817fcab854dc3a90dd80e073869bbccb4;hp=ebeae66773c2ccec935619697417dd7aa2e0fd36;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/libringbuffer/smp.h b/libringbuffer/smp.h index ebeae667..78b1851f 100644 --- a/libringbuffer/smp.h +++ b/libringbuffer/smp.h @@ -15,7 +15,10 @@ */ #define PER_CPU_MEM_SIZE 4096 +__attribute__((visibility("hidden"))) extern int __num_possible_cpus; + +__attribute__((visibility("hidden"))) extern void _get_num_possible_cpus(void); static inline