]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerKamal Mostafa <kamal@canonical.com>
Wed, 26 Oct 2016 17:20:51 +0000 (10:20 -0700)
commit2f0f870bfb0611e5b3f3b3b8a7713a1be0772126
tree7ba1aaaf98cc2c2e0600acd45c4f57aace0a40fb
parent179152ff39491dca254da36a13f220b0ef8ed62b
lib/bitmap.c: conversion routines to/from u32 array

BugLink: http://bugs.launchpad.net/bugs/1635721
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>
(cherry picked from commit e52bc7c28ac9f54db6f86b19ed65c599def18c98)
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
include/linux/bitmap.h
lib/bitmap.c