projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f90e9b
)
aioring: check for arch support AFTER including the headers
author
Jens Axboe
<axboe@kernel.dk>
Thu, 13 Dec 2018 03:31:52 +0000
(20:31 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 13 Dec 2018 03:31:52 +0000
(20:31 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/aioring.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/aioring.c
b/engines/aioring.c
index 5a9add7937529b98a8924faf6d8c200edf438f73..e434387c6bd43e8a60010fc0015c4d15721b5ca4 100644
(file)
--- a/
engines/aioring.c
+++ b/
engines/aioring.c
@@
-1,4
+1,3
@@
-#ifdef ARCH_HAVE_AIORING
/*
* aioring engine
*
@@
-17,6
+16,8
@@
#include "../optgroup.h"
#include "../lib/memalign.h"
+#ifdef ARCH_HAVE_AIORING
+
#ifndef IOCB_FLAG_HIPRI
#define IOCB_FLAG_HIPRI (1 << 2)
#endif