#include <asm/unistd.h>
#include "../fio.h"
-#include "../indirect.h"
-#include "../syslet.h"
-#include "../fls.h"
+#include "../lib/fls.h"
#ifdef FIO_HAVE_SYSLET
free(sd->events);
free(sd->ring);
free(sd);
- td->io_ops->data = NULL;
}
}
*/
ring_nr = td->o.iodepth;
if (ring_nr & (ring_nr - 1))
- ring_nr = 1 << fls(ring_nr);
+ ring_nr = 1 << __fls(ring_nr);
ring_size = sizeof(struct syslet_ring) +
ring_nr * sizeof(struct syslet_completion);