]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/slice: Switch to 3-operand slice bitops helpers
authorNicholas Piggin <npiggin@gmail.com>
Wed, 7 Mar 2018 01:37:14 +0000 (11:37 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 12:43:07 +0000 (23:43 +1100)
commit7e8a8dbbb77d89a324834d942c1f3c6deb4482f6
tree5607375446b3b315d4e60d250422dbe4af40e966
parent6c28a33bae61d53f43964b8f30f2c76fdd5c8fd8
powerpc/mm/slice: Switch to 3-operand slice bitops helpers

This converts the slice_mask bit operation helpers to be the usual
3-operand kind, which allows 2 inputs to set a different output
without an extra copy, which is used in the next patch.

Adds slice_copy_mask, which will be used in the next patch.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/slice.c