X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fsmp.h;h=5f81094fc802c7f6559d876c03ae6af6f4be13a4;hb=45bc70bb64b2355aa4b05fd7568a4dcce30acd74;hp=563fe623591d46821664dcd6cb3750d421f85188;hpb=74cc1f594e05b5a3524529f018d85efaad53f9a3;p=lttng-ust.git diff --git a/src/common/smp.h b/src/common/smp.h index 563fe623..5f81094f 100644 --- a/src/common/smp.h +++ b/src/common/smp.h @@ -13,7 +13,8 @@ * * If the sysconf call fails, don't populate the cache and return 0. */ -int num_possible_cpus(void); +int num_possible_cpus(void) + __attribute__((visibility("hidden"))); #define for_each_possible_cpu(cpu) \ for ((cpu) = 0; (cpu) < num_possible_cpus(); (cpu)++)