arch: add ffs64 and ffz64
authorJens Axboe <axboe@fb.com>
Wed, 23 Dec 2015 16:09:23 +0000 (09:09 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 23 Dec 2015 16:09:23 +0000 (09:09 -0700)
commitf8582257a0b6d6592f8276bdbd33bb611b139ca3
treeb6822e0813dd18c3a66ffe46393bdc6be9adfa53
parent6c041a8880a8993e037a417ba4c6548030da5f12
arch: add ffs64 and ffz64

These just use the normal C software version, extended to 64-bit
even on 32-bit archs. The fast variant is still machine word native.

Signed-off-by: Jens Axboe <axboe@fb.com>
arch/arch.h
lib/ffz.h