Update/include some functions from the Kernel

Sascha Hauer s.hauer at pengutronix.de
Tue Jul 15 06:49:28 PDT 2014


This adds/updates some lowlevel bitmap/bitop stuff from the
Kernel. Needed by upcoming USB updates.

Sascha

----------------------------------------------------------------
Sascha Hauer (5):
      include: Add DECLARE_BITMAP from kernel
      include: Add round_up/round_down macros from kernel
      include: Add foreign endianess adding functions from kernel
      lib: Add bitmap functions from kernel
      include: update bitop functions from kernel

 include/asm-generic/bitops/hweight.h |  15 +
 include/linux/bitmap.h               | 285 ++++++++++++
 include/linux/bitops.h               | 214 ++++++++-
 include/linux/byteorder/generic.h    |  29 ++
 include/linux/kernel.h               |  13 +
 include/linux/types.h                |   3 +
 lib/Makefile                         |   1 +
 lib/bitmap.c                         | 839 +++++++++++++++++++++++++++++++++++
 8 files changed, 1398 insertions(+), 1 deletion(-)
 create mode 100644 include/linux/bitmap.h
 create mode 100644 lib/bitmap.c



More information about the barebox mailing list