projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
95db307
)
windows: fix fio_cpu_count() definition
author
Jens Axboe
<axboe@fb.com>
Fri, 28 Feb 2014 00:24:15 +0000
(16:24 -0800)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/os/os-windows.h
b/os/os-windows.h
index d465818ca6778de914f349b30df13a0ed5fd708f..243edc676fd94ac15194eb5f8da0d061a15a9039 100644
(file)
--- a/
os/os-windows.h
+++ b/
os/os-windows.h
@@
-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);
}