diff options
Diffstat (limited to 'lib/div64.c')
-rw-r--r-- | lib/div64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/div64.c b/lib/div64.c index 01c8602bb6ff..ee146bb4c558 100644 --- a/lib/div64.c +++ b/lib/div64.c | |||
@@ -109,7 +109,7 @@ u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) | |||
109 | quot = div_u64_rem(dividend, divisor, &rem32); | 109 | quot = div_u64_rem(dividend, divisor, &rem32); |
110 | *remainder = rem32; | 110 | *remainder = rem32; |
111 | } else { | 111 | } else { |
112 | int n = 1 + fls(high); | 112 | int n = fls(high); |
113 | quot = div_u64(dividend >> n, divisor >> n); | 113 | quot = div_u64(dividend >> n, divisor >> n); |
114 | 114 | ||
115 | if (quot != 0) | 115 | if (quot != 0) |
@@ -147,7 +147,7 @@ u64 div64_u64(u64 dividend, u64 divisor) | |||
147 | if (high == 0) { | 147 | if (high == 0) { |
148 | quot = div_u64(dividend, divisor); | 148 | quot = div_u64(dividend, divisor); |
149 | } else { | 149 | } else { |
150 | int n = 1 + fls(high); | 150 | int n = fls(high); |
151 | quot = div_u64(dividend >> n, divisor >> n); | 151 | quot = div_u64(dividend >> n, divisor >> n); |
152 | 152 | ||
153 | if (quot != 0) | 153 | if (quot != 0) |