summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-08-03 10:54:41 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-08-03 10:54:41 +0200
commitf2b7ce1c8f2d5ada9b0f789b48b94dc234195fa8 (patch)
treea8af59ef74c2779f03c6a674127036eedaac7e60 /os/os-solaris.h
parent644eec5656e695ab215733108c634c056e1f8e3d (diff)
downloadfio-f2b7ce1c8f2d5ada9b0f789b48b94dc234195fa8.tar.gz
fio-f2b7ce1c8f2d5ada9b0f789b48b94dc234195fa8.tar.bz2
Solaris cpu affinity fix
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 56729565..f00aae10 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -70,7 +70,7 @@ static inline int fio_set_odirect(int fd)
* pset binding hooks for fio
*/
#define fio_setaffinity(pid, cpumask) \
- pset_bind(&(cpumask), P_PID, (pid), NULL)
+ pset_bind((cpumask), P_PID, (pid), NULL)
#define fio_getaffinity(pid, ptr) ({ 0; })
#define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL)