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 <chanho.min@lge.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Cc: Bob Pearson <rpearson@systemfabricworks.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Herbert Xu <herbert@gondor.hengli.com.au>
Cc: Yann Collet <yann.collet.73@gmail.com>
Cc: Kyungsik Lee <kyungsik.lee@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Change-Id: I6b9f7ce8ac075508fd22dd28f79030d438d9074d
Revert "Added optimized ARM RWSEM algorithm."

This reverts commit 5e7f4951d56ed31d31c6b1245f1bbabaab4654d2.
DEFCONFIG: sync with .config
DEFCONFIG: support for KEXEC_HARDBOOT
aka multirom
Ramdisk support still needed
DEFCONFIG: add kernel string for joey kernel
S2W/DT2W/L2M/L2W
blinking buttons: bln for m7 by @tbalden

Signed-off-by: flar2 <asegaert@gmail.com>
fix pocket detection

Signed-off-by: flar2 <asegaert@gmail.com>
dt2w: enable only on the bottom part of screen

Signed-off-by: flar2 <asegaert@gmail.com>
vibrator function

Signed-off-by: flar2 <asegaert@gmail.com>