diff options
| author | Nicholas Piggin <[email protected]> | 2017-04-19 13:05:49 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-04-23 10:31:57 +0000 |
| commit | e420249d44d02e9fc110087ed8feddc38b13528c (patch) | |
| tree | eca13379193eb23bb9519d1a71d43414fb27dc88 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/64s: Expand core idle state bits (diff) | |
| download | kernel-e420249d44d02e9fc110087ed8feddc38b13528c.tar.gz kernel-e420249d44d02e9fc110087ed8feddc38b13528c.zip | |
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
