commit | a1fc70fbb0497a4e0dc061bd8fc35c8d4d29d2dd | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Thu Feb 27 16:24:15 2014 -0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Feb 27 16:24:15 2014 -0800 |
tree | 612cc92d99eb48c05aa6442a95a72921b3f18eed | |
parent | 95db3079d0c9060f0fc31d5425bcd7d67076523b [diff] [blame] |
windows: fix fio_cpu_count() definition Don't take a 'cpu' argument, that's a leftover when this was (temporarily) fio_cpu_isset(). Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/os/os-windows.h b/os/os-windows.h index d465818..243edc6 100644 --- a/os/os-windows.h +++ b/os/os-windows.h
@@ -215,7 +215,7 @@ *mask |= 1 << cpu; } -static inline int fio_cpu_count(os_cpu_mask_t *mask, int cpu) +static inline int fio_cpu_count(os_cpu_mask_t *mask) { return hweight64(*mask); }