From: Jens Axboe Date: Mon, 5 Jan 2009 08:40:13 +0000 (+0100) Subject: Add fio_cpuset_exit() empty handler for platforms that don't support affinity X-Git-Tag: fio-1.24~20 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=85daf2c1102ed4fdf1477cfd372046efbe08046e Add fio_cpuset_exit() empty handler for platforms that don't support affinity Signed-off-by: Jens Axboe --- diff --git a/os/os.h b/os/os.h index 823b039a..5a3bc559 100644 --- a/os/os.h +++ b/os/os.h @@ -42,6 +42,7 @@ #define fio_setaffinity(td) (0) #define fio_getaffinity(pid, mask) do { } while (0) #define fio_cpu_clear(mask, cpu) do { } while (0) +#define fio_cpuset_exit(mask) (-1) #endif #ifndef FIO_HAVE_IOPRIO