Solaris cpu affinity fix
authorJens Axboe <jens.axboe@oracle.com>
Mon, 3 Aug 2009 08:54:41 +0000 (10:54 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 3 Aug 2009 08:54:41 +0000 (10:54 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-solaris.h

index 56729565b127631b2061258c7a9e373e47da7f21..f00aae1089b19380fd05d2f8017facea2847cea5 100644 (file)
@@ -70,7 +70,7 @@ static inline int fio_set_odirect(int fd)
  * pset binding hooks for fio
  */
 #define fio_setaffinity(pid, cpumask)          \
  * 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)
 #define fio_getaffinity(pid, ptr)      ({ 0; })
 
 #define fio_cpu_clear(mask, cpu)       pset_assign(PS_NONE, (cpu), NULL)