diff options
author | Nicholas Piggin <[email protected]> | 2017-04-19 23:05:49 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2017-04-23 20:31:57 +1000 |
commit | e420249d44d02e9fc110087ed8feddc38b13528c (patch) | |
tree | eca13379193eb23bb9519d1a71d43414fb27dc88 /arch/powerpc/lib/code-patching.c | |
parent | adbcf8d74f4609e142b01520afa173bfe911122b (diff) |
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 <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions