X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos.h;h=a6bc17f09b5797632697de1b4c434f8f1a68482f;hp=03d1e9a14565f8481dd93db480e1896dfde184ec;hb=c2acfbac7e9eb8ac5407ac024c0fd000614c77e2;hpb=3cd4c66f35fad0df64e4e6dfeddc5bdfd5206e0c diff --git a/os/os.h b/os/os.h index 03d1e9a1..a6bc17f0 100644 --- a/os/os.h +++ b/os/os.h @@ -80,7 +80,10 @@ typedef struct aiocb os_aiocb_t; #define fio_getaffinity(pid, mask) do { } while (0) #define fio_cpu_clear(mask, cpu) do { } while (0) #define fio_cpuset_exit(mask) (-1) +#define fio_cpus_split(mask, cpu) (0) typedef unsigned long os_cpu_mask_t; +#else +extern int fio_cpus_split(os_cpu_mask_t *mask, unsigned int cpu); #endif #ifndef FIO_HAVE_IOPRIO