aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2018-10-30 22:05:10 +0000
committerLinus Torvalds <[email protected]>2018-10-31 15:54:12 +0000
commit41e7b1661ffbf562d3aa2b7ce4ad283db50b711a (patch)
tree5eaeb90dd4a5146b1054d63c25f055658c25e6b3 /lib/bitmap.c
parentlinux/bitmap.h: fix type of nbits in bitmap_shift_right() (diff)
downloadkernel-41e7b1661ffbf562d3aa2b7ce4ad283db50b711a.tar.gz
kernel-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/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Cc: Yury Norov <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: Sudeep Holla <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions