windows: fix fio_cpu_count() definition
authorJens Axboe <axboe@fb.com>
Fri, 28 Feb 2014 00:24:15 +0000 (16:24 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 28 Feb 2014 00:24:15 +0000 (16:24 -0800)
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>
os/os-windows.h

index d465818ca6778de914f349b30df13a0ed5fd708f..243edc676fd94ac15194eb5f8da0d061a15a9039 100644 (file)
@@ -215,7 +215,7 @@ static inline void fio_cpu_set(os_cpu_mask_t *mask, int cpu)
        *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);
 }