Skip to contentSkip to conversation

lib-add-weak-clz-ctz-functions.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2013 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] lib-add-weak-clz-ctz-functions.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:22:19 -0700

The patch titled
Subject: lib: add weak clz/ctz functions
has been removed from the -mm tree. Its filename was
lib-add-weak-clz-ctz-functions.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Chanho Min <[email protected]>
Subject: lib: add weak clz/ctz functions

Some architectures need __c[lt]z[sd]i2() for __builtin_c[lt]z[ll] and It causes 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

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]>

---

 lib/Makefile  |    2 -
 lib/clz_ctz.c |   58 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 1 deletion(-)
lib/Makefile renamed from lib/Makefile~lib-add-weak-clz-ctz-functions +1 -1
diff -puN lib/Makefile~lib-add-weak-clz-ctz-functions lib/Makefile
@@ -23,7 +23,7 @@ lib-y	+= kobject.o klist.o
 
 obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
 	 bust_spinlocks.o hexdump.o kasprintf.o bitmap.o scatterlist.o \
-	 gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o \
+	 gcd.o lcm.o list_sort.o uuid.o flex_array.o iovec.o clz_ctz.o \
 	 bsearch.o find_last_bit.o find_next_bit.o llist.o memweight.o kfifo.o
 obj-y += string_helpers.o
 obj-$(CONFIG_TEST_STRING_HELPERS) += test-string_helpers.o
lib/clz_ctz.c new file +58 -0

58 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

origin.patch