summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2015-10-29 11:44:04 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-12-01 13:52:25 +1100
commita0e72cf12b1a1f159b6822ed2e1e41893d996fc7 (patch)
tree341c39ac34fad618accdb2a37aaba9af83a1a6d7 /lib
parent1552cd703cf5a07caeb17ccd82f80e20a23b1707 (diff)
downloadtalos-obmc-linux-a0e72cf12b1a1f159b6822ed2e1e41893d996fc7.tar.gz
talos-obmc-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 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud