aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/feature-fixups.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-05-20 13:50:44 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-17 00:07:51 +1000
commite90a21ea801d1776d9a786ad02354fd3fe23ce09 (patch)
treef3f4a7d9ef97e6af31911508e818859321fc3153 /arch/powerpc/lib/feature-fixups.c
parentpowerpc/lib/code-patching: Make instr_is_branch_to_addr() static (diff)
downloadlinux-dev-e90a21ea801d1776d9a786ad02354fd3fe23ce09.tar.xz
linux-dev-e90a21ea801d1776d9a786ad02354fd3fe23ce09.zip
powerpc/lib/code-patching: Don't use struct 'ppc_inst' for runnable code in tests.
'struct ppc_inst' is meant to represent an instruction internally, it is not meant to dereference code in memory. For testing code patching, use patch_instruction() to properly write into memory the code to be tested. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/d8425fb42a4adebc35b7509f121817eeb02fac31.1621516826.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/lib/feature-fixups.c')
0 files changed, 0 insertions, 0 deletions