Move Linux/ppc64 specific cpu_online() to os/os-linux.h
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index 3c96b4d11d56a25b62b3c86cb79137120caa45ab..1d400c8f0e303fc3420a5abc40e4a4c0c9955796 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -324,14 +324,6 @@ static inline unsigned long long get_fs_free_size(const char *path)
 }
 #endif
 
-#ifdef __powerpc64__
-#define FIO_HAVE_CPU_ONLINE_SYSCONF
-static inline unsigned int cpus_online(void)
-{
-        return sysconf(_SC_NPROCESSORS_CONF);
-}
-#endif
-
 #ifndef FIO_HAVE_CPU_ONLINE_SYSCONF
 static inline unsigned int cpus_online(void)
 {