From: Tomohiro Kusumi Date: Wed, 27 Jul 2016 13:37:08 +0000 (+0900) Subject: Use default CPU_COUNT() function in DragonFlyBSD X-Git-Tag: fio-2.14~90 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=cbf448e125bd4d2d698151d9fc6fa43956017d80;hp=cbf448e125bd4d2d698151d9fc6fa43956017d80;ds=sidebyside Use default CPU_COUNT() function in DragonFlyBSD os/os.h has a default CPU_COUNT() inline function for those that are expected to have CPU_COUNT() macro, but not in certain versions. This seems to have been added for RHEL5 (or older?) and variants, but use this in os/os-dragonfly.h since it's essentially the same as its own fio_cpu_count() implementation. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe ---