commit | 40d24343a8926b6998a13d04aa54e04961d1f5ed | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Tue Jun 13 23:05:57 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Jun 19 19:46:30 2017 +1000 |
tree | eb9a20de3bdc69ee0817cae1f8cd3e7c770e3806 | |
parent | 95acdc07124f329ef3088a9bc68af905804b2e6b [diff] |
powerpc/64s/idle: Run latch switch is done with MSR[EE]=0 In the idle sleep/wake code we know that MSR[EE] is clear, so we can avoid 2 x mfmsr and 2 x mtmsr by calling the double-underscore versions of the run latch routines which assume interrupts are already disabled. Acked-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>