From 85daf2c1102ed4fdf1477cfd372046efbe08046e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 5 Jan 2009 09:40:13 +0100 Subject: [PATCH] Add fio_cpuset_exit() empty handler for platforms that don't support affinity Signed-off-by: Jens Axboe --- os/os.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1