Add sparc and sparc64 support
Also get rid of the arch private ffz functions, the generic
one is just fine.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/io_u.c b/io_u.c
index e4e1693..1637b74 100644
--- a/io_u.c
+++ b/io_u.c
@@ -7,6 +7,7 @@
#include "fio.h"
#include "hash.h"
+#include "lib/ffz.h"
/*
* Change this define to play with the timeout handling
@@ -108,7 +109,7 @@
*b = (i * BLOCKS_PER_MAP);
while ((*b) * min_bs < f->real_file_size) {
if (f->file_map[i] != -1UL) {
- *b += fio_ffz(f->file_map[i]);
+ *b += ffz(f->file_map[i]);
if (*b > last_block(td, f, ddir))
break;
f->last_free_lookup = i;