projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6cee43
)
Add fio_cpuset_exit() empty handler for platforms that don't support affinity
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 5 Jan 2009 08:40:13 +0000
(09:40 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 5 Jan 2009 08:40:13 +0000
(09:40 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os.h
b/os/os.h
index 823b039a01ab30e61efaf7742588fb179ea3b8b0..5a3bc559186a2c076635a91c6cf85c72a9b80211 100644
(file)
--- 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