summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-01-05 09:40:13 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-01-05 09:40:13 +0100
commit85daf2c1102ed4fdf1477cfd372046efbe08046e (patch)
tree809b4f6b246aeeaf55203faf3e390fcd099f0fba
parenta6cee43d4e9f2163bca89bf25c8d529128ebc905 (diff)
downloadfio-85daf2c1102ed4fdf1477cfd372046efbe08046e.tar.gz
fio-85daf2c1102ed4fdf1477cfd372046efbe08046e.tar.bz2
Add fio_cpuset_exit() empty handler for platforms that don't support affinity
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--os/os.h1
1 files changed, 1 insertions, 0 deletions
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