summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/index.rst
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-23 11:25:15 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2019-10-31 16:54:49 +1100
commitc3a5700932b0ed6a064ed104ac4353206ff09585 (patch)
treeb25319adb1a847dd945a20303fe7ca5a1558de9a /Documentation/userspace-api/index.rst
parent0112e9851de735b3df2eb702407ad7bffd8b78e0 (diff)
lib/bitmap: introduce bitmap_replace() helper
In some drivers we want to have a single operation over bitmap which is an equivalent to: *dst = (*old & ~(*mask)) | (*new & *mask) Introduce bitmap_replace() helper for this. Link: http://lkml.kernel.org/r/20191022172922.61232-8-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: William Breathitt Gray <vilhelm.gray@gmail.com> Cc: Yury Norov <yury.norov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'Documentation/userspace-api/index.rst')
0 files changed, 0 insertions, 0 deletions