summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-12-12 20:54:15 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-12-12 20:54:15 +0100
commit4a3c7b90413beb215dae12a26701ccbefa4bc847 (patch)
tree92e83f5217e53aba079a95874add808ab879c219 /os/os-solaris.h
parentd2ce18b5dfdc1736a99b4e2d731119cc4880e197 (diff)
downloadfio-4a3c7b90413beb215dae12a26701ccbefa4bc847.tar.gz
fio-4a3c7b90413beb215dae12a26701ccbefa4bc847.tar.bz2
Solaris compilation fix
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 6b44ec09..a53fb40f 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -69,8 +69,7 @@ static inline int fio_set_odirect(int fd)
*/
#define fio_setaffinity(td) \
pset_bind((td)->o.cpumask, P_PID, (td)->pid)
-#define fio_getaffinity(pid, ptr) \
- sched_getaffinity((pid), sizeof(cpu_set_t), (ptr))
+#define fio_getaffinity(pid, ptr) 0
#define fio_cpu_clear(mask, cpu) pset_assign(*(mask), (cpu), PS_NONE)
#define fio_cpu_set(mask, cpu) pset_assign(*(mask), (cpu), PS_MYID)