aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorChanho Min <[email protected]>2013-07-08 16:01:43 -0700
committerLinus Torvalds <[email protected]>2013-07-09 10:33:30 -0700
commit4df87bb7b6a22dfc6fdd5abb3dd362b3af2c164d (patch)
treee7e065ee0e172184fc7dc8f96a508518836e38f2 /lib/mpi/mpi-bit.c
parent1b3a5d02ee070c8f9943333b9b6370f486601e0f (diff)
lib: add weak clz/ctz functions
Some architectures need __c[lt]z[sd]i2() for __builtin_c[lt]z[ll] and that causes a build failure. They can be implemented using the fls()/__ffs() and overridden by linking arch-specific versions may not be implemented yet. This is required by "lib: add lz4 compressor module". Reference: https://lkml.org/lkml/2013/4/18/603 Signed-off-by: Chanho Min <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Cc: "Darrick J. Wong" <[email protected]> Cc: Bob Pearson <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Yann Collet <[email protected]> Cc: Kyungsik Lee <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions