projects
/
disktools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4811f42
)
[PATCH] fio: more ioprio compat
author
Jens Axboe
<axboe@suse.de>
Mon, 5 Dec 2005 19:56:10 +0000
(20:56 +0100)
committer
Jens Axboe
<axboe@suse.de>
Mon, 5 Dec 2005 19:56:10 +0000
(20:56 +0100)
fio-ini.c
patch
|
blob
|
blame
|
history
os-freebsd.h
patch
|
blob
|
blame
|
history
diff --git
a/fio-ini.c
b/fio-ini.c
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;
diff --git
a/os-freebsd.h
b/os-freebsd.h
index 1f32006703c57c6cf4a92e86d9f28fc89f577622..e59822bc816b87b9c539e5cc034f1083833a4deb 100644
(file)
--- a/
os-freebsd.h
+++ b/
os-freebsd.h
@@
-9,4
+9,6
@@
#define OS_MAP_ANON (MAP_ANON)
+typedef unsigned long os_cpu_mask_t;
+
#endif