[PATCH] fio: more ioprio compat
authorJens Axboe <axboe@suse.de>
Mon, 5 Dec 2005 19:56:10 +0000 (20:56 +0100)
committerJens Axboe <axboe@suse.de>
Mon, 5 Dec 2005 19:56:10 +0000 (20:56 +0100)
fio-ini.c
os-freebsd.h

index 1b1e464614e7134ec63b87b9e31c1603f1fd889f..de82a8883c2b8590111db6803d8f2c367f14e37e 100644 (file)
--- a/fio-ini.c
+++ b/fio-ini.c
@@ -289,7 +289,7 @@ int init_random_state(struct thread_data *td)
        return 0;
 }
 
-static void fill_cpu_mask(cpu_set_t cpumask, int cpu)
+static void fill_cpu_mask(os_cpu_mask_t cpumask, int cpu)
 {
 #ifdef FIO_HAVE_CPU_AFFINITY
        unsigned int i;
index 1f32006703c57c6cf4a92e86d9f28fc89f577622..e59822bc816b87b9c539e5cc034f1083833a4deb 100644 (file)
@@ -9,4 +9,6 @@
 
 #define OS_MAP_ANON            (MAP_ANON)
 
+typedef unsigned long os_cpu_mask_t;
+
 #endif