aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2017-04-19 23:05:51 +1000
committerMichael Ellerman <[email protected]>2017-04-23 20:32:23 +1000
commit9cba253df42f6138b48ea88f1fa35ae8a7fd5225 (patch)
treeb681b7165d1f4fdbf16ced4d24fbe101b3b91a0b /arch/powerpc/lib/code-patching.c
parent0d7720a24234cefa8b318b1a3cf0b302a51faec9 (diff)
powerpc/64s: Simplify POWER9 DD1 idle workaround code
The idle workaround does not need to load PACATOC, and it does not need to be called within a nested function that requires LR to be saved. Load the PACATOC at entry to the idle wakeup. It does not matter which PACA this comes from, so it's okay to call before the workaround. Then apply the workaround to get the right PACA. 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