projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
213a01b
)
Fix warning when clang is used as the compiler
author
Jens Axboe
<axboe@kernel.dk>
Fri, 7 Oct 2011 11:26:27 +0000
(13:26 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 7 Oct 2011 11:26:27 +0000
(13:26 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-linux.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-linux.h
b/os/os-linux.h
index 828b208136a393df16ed6d33c3da188da2025580..9f547fffe635ad0f652b1baa6a579032bdacc801 100644
(file)
--- a/
os/os-linux.h
+++ b/
os/os-linux.h
@@
-92,8
+92,8
@@
typedef struct drand48_data os_random_state_t;
sched_getaffinity((pid), (ptr))
#endif
-#define fio_cpu_clear(mask, cpu) CPU_CLR((cpu), (mask))
-#define fio_cpu_set(mask, cpu) CPU_SET((cpu), (mask))
+#define fio_cpu_clear(mask, cpu)
(void)
CPU_CLR((cpu), (mask))
+#define fio_cpu_set(mask, cpu)
(void)
CPU_SET((cpu), (mask))
static inline int fio_cpuset_init(os_cpu_mask_t *mask)
{