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-hpux.h
diff --git
a/os/os-hpux.h
b/os/os-hpux.h
index a80cb2bc474ecee0733ffac7c07662006762318d..9f3d76f50719736c998e76dbe4e30f1cfdd067e6 100644
(file)
--- a/
os/os-hpux.h
+++ b/
os/os-hpux.h
@@
-88,9
+88,9
@@
static inline unsigned long long os_phys_mem(void)
return ret;
}
-#define FIO_HAVE_CPU_
ONLINE
_SYSCONF
+#define FIO_HAVE_CPU_
CONF
_SYSCONF
-static inline unsigned int cpus_
online
(void)
+static inline unsigned int cpus_
configured
(void)
{
return mpctl(MPC_GETNUMSPUS, 0, NULL);
}