X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fgetcpu.h;h=190eae6c3d39bf131815e57b05c079c772ff103f;hb=c0bbbd5af5c91c2f7b7b23fcc860b3e48754c059;hp=dbc186c19afab85f2ddb764708a8d07bfb8cae1e;hpb=6d940e0f88f76cd19717c3421929de05a7c8ac94;p=lttng-ust.git diff --git a/libringbuffer/getcpu.h b/libringbuffer/getcpu.h index dbc186c1..190eae6c 100644 --- a/libringbuffer/getcpu.h +++ b/libringbuffer/getcpu.h @@ -78,11 +78,11 @@ int lttng_ust_get_cpu(void) } #endif /* __UCLIBC__ */ -#elif defined(__FreeBSD__) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__)) /* - * FreeBSD does not allow query of CPU ID. Always use CPU number 0, with - * the assocated performance degradation on SMP. + * FreeBSD and Cygwin do not allow query of CPU ID. Always use CPU + * number 0, with the assocated performance degradation on SMP. */ static inline int lttng_ust_get_cpu(void)