summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-04-19 16:05:49 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-23 13:31:57 +0300
commite420249d44d02e9fc110087ed8feddc38b13528c (patch)
treeeca13379193eb23bb9519d1a71d43414fb27dc88 /arch/powerpc/lib/code-patching.c
parentadbcf8d74f4609e142b01520afa173bfe911122b (diff)
downloadlinux-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