diff options
author | Anton Blanchard <anton@samba.org> | 2015-10-29 01:44:04 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-12-01 03:52:25 +0100 |
commit | a0e72cf12b1a1f159b6822ed2e1e41893d996fc7 (patch) | |
tree | 341c39ac34fad618accdb2a37aaba9af83a1a6d7 /drivers/crypto/vmx | |
parent | crypto: vmx: Only call enable_kernel_vsx() (diff) | |
download | linux-a0e72cf12b1a1f159b6822ed2e1e41893d996fc7.tar.xz linux-a0e72cf12b1a1f159b6822ed2e1e41893d996fc7.zip |
powerpc: Create msr_check_and_{set,clear}()
Create helper functions to set and clear MSR bits after first
checking if they are already set. Grouping them will make it
easy to avoid the MSR writes in a subsequent optimisation.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/crypto/vmx')
0 files changed, 0 insertions, 0 deletions