]> git.baikalelectronics.ru Git - kernel.git/commit
lib/bitmap.c: conversion routines to/from u32 array
authorDavid Decotigny <decot@googlers.com>
Fri, 19 Feb 2016 14:23:59 +0000 (09:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2016 03:54:09 +0000 (22:54 -0500)
commit819d447723f33303d0d76341fcfa0fe022374aeb
tree91021921dbea2353d4aba01cf2546041184afd2f
parentc91bf7a4e12e744be826b5d21b711703a6548545
lib/bitmap.c: conversion routines to/from u32 array

Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic
way.

Tested:
  unit tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE,
  ARM.

Signed-off-by: David Decotigny <decot@googlers.com>
Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bitmap.h
lib/bitmap.c