commit | f2b7ce1c8f2d5ada9b0f789b48b94dc234195fa8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Aug 03 10:54:41 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Aug 03 10:54:41 2009 +0200 |
tree | a8af59ef74c2779f03c6a674127036eedaac7e60 | |
parent | 644eec5656e695ab215733108c634c056e1f8e3d [diff] [blame] |
Solaris cpu affinity fix Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/os/os-solaris.h b/os/os-solaris.h index 5672956..f00aae1 100644 --- a/os/os-solaris.h +++ b/os/os-solaris.h
@@ -70,7 +70,7 @@ * 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)