From 3c48c2c1c702047f8a92fa21fdd1471781b9dab4 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 2 Jun 2008 12:22:30 +0200 Subject: [PATCH] Rename fls() to __fls() Signed-off-by: Jens Axboe --- fls.h | 2 +- options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fls.h b/fls.h index 850859bc..dc7ecd0d 100644 --- a/fls.h +++ b/fls.h @@ -9,7 +9,7 @@ * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32. */ -static inline int fls(int x) +static inline int __fls(int x) { int r = 32; diff --git a/options.c b/options.c index cc131a28..3c37e910 100644 --- a/options.c +++ b/options.c @@ -406,7 +406,7 @@ static int str_verify_pattern_cb(void *data, unsigned int *off) struct thread_data *td = data; unsigned int msb; - msb = fls(*off); + msb = __fls(*off); if (msb <= 8) td->o.verify_pattern_bytes = 1; else if (msb <= 16) -- 2.25.1