diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2018-10-30 23:05:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-31 16:54:12 +0100 |
commit | 41e7b1661ffbf562d3aa2b7ce4ad283db50b711a (patch) | |
tree | 5eaeb90dd4a5146b1054d63c25f055658c25e6b3 /lib/bitmap.c | |
parent | linux/bitmap.h: fix type of nbits in bitmap_shift_right() (diff) | |
download | linux-41e7b1661ffbf562d3aa2b7ce4ad283db50b711a.tar.xz linux-41e7b1661ffbf562d3aa2b7ce4ad283db50b711a.zip |
linux/bitmap.h: relax comment on compile-time constant nbits
It's not clear what's so horrible about emitting a function call to handle
a run-time sized bitmap. Moreover, gcc also emits a function call for a
compile-time-constant-but-huge nbits, so the comment isn't even accurate.
Link: http://lkml.kernel.org/r/20180818131623.8755-6-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Yury Norov <ynorov@caviumnetworks.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions