]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite52bc7c28ac9f54db6f86b19ed65c599def18c98
tree91021921dbea2353d4aba01cf2546041184afd2f
parent76d13b568776fdef646c70878de406c90aef46a9
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