projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpus_allowed: use __NRPROCESSORS_CONF instead of __SC_NPROCESSORS_ONLN for non-sequen...
[fio.git]
/
os
/
os-solaris.h
diff --git
a/os/os-solaris.h
b/os/os-solaris.h
index ea1f081c89e5d24bdc2c6854e29916ccdacc4b1a..60d4c1eca49e21e5f040e3ce810f80094f493935 100644
(file)
--- a/
os/os-solaris.h
+++ b/
os/os-solaris.h
@@
-119,7
+119,7
@@
static inline int fio_set_odirect(struct fio_file *f)
static inline bool fio_cpu_isset(os_cpu_mask_t *mask, int cpu)
{
- const unsigned int max_cpus = sysconf(_SC_NPROCESSORS_
ONLN
);
+ const unsigned int max_cpus = sysconf(_SC_NPROCESSORS_
CONF
);
unsigned int num_cpus;
processorid_t *cpus;
bool ret;