diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-08-03 10:54:41 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-08-03 10:54:41 +0200 |
commit | f2b7ce1c8f2d5ada9b0f789b48b94dc234195fa8 (patch) | |
tree | a8af59ef74c2779f03c6a674127036eedaac7e60 /os/os-solaris.h | |
parent | 644eec5656e695ab215733108c634c056e1f8e3d (diff) | |
download | fio-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.h | 2 |
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) |