diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-04-19 16:05:49 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-23 13:31:57 +0300 |
commit | e420249d44d02e9fc110087ed8feddc38b13528c (patch) | |
tree | eca13379193eb23bb9519d1a71d43414fb27dc88 /arch/powerpc/lib/code-patching.c | |
parent | adbcf8d74f4609e142b01520afa173bfe911122b (diff) | |
download | linux-e420249d44d02e9fc110087ed8feddc38b13528c.tar.xz |
powerpc/64s: Idle do not hold reservation longer than required
When taking the core idle state lock, grab it immediately like a regular
lock, rather than adding more tests in there. Holding the lock keeps it
stable, so there is no need to do it whole holding the reservation.
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions