X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-freebsd.h;fp=os%2Fos-freebsd.h;h=402792a0f7d714f99a41c77ad686d39ef561c548;hp=57ce409c67fd4d2a5476ab8e3c45577161a8d827;hb=c2acfbac7e9eb8ac5407ac024c0fd000614c77e2;hpb=225ba9e3433cf27d8ff7b213d9f78b7ef2776c70 diff --git a/os/os-freebsd.h b/os/os-freebsd.h index 57ce409c..402792a0 100644 --- a/os/os-freebsd.h +++ b/os/os-freebsd.h @@ -32,6 +32,7 @@ typedef cpuset_t os_cpu_mask_t; #define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask)) #define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask)) +#define fio_cpu_count(maks) CPU_COUNT((mask)) static inline int fio_cpuset_init(os_cpu_mask_t *mask) {