cpus_allowed: use __NRPROCESSORS_CONF instead of __SC_NPROCESSORS_ONLN for non-sequen...
[fio.git] / os / os-hpux.h
index a80cb2bc474ecee0733ffac7c07662006762318d..9f3d76f50719736c998e76dbe4e30f1cfdd067e6 100644 (file)
@@ -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);
 }