summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/sstep.c
diff options
context:
space:
mode:
authorJordan Niethe <jniethe5@gmail.com>2020-05-15 04:15:28 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-18 17:10:38 +0300
commit7a8818e0df5c6b53c89c7c928498668a2bbb3de0 (patch)
tree4d6fc5cb903182b12b849ef501e83c4d223487cc /arch/powerpc/lib/sstep.c
parentb691505ef9232a6e82f1c160911afcb4cb20487b (diff)
downloadlinux-7a8818e0df5c6b53c89c7c928498668a2bbb3de0.tar.xz
powerpc/optprobes: Add register argument to patch_imm64_load_insns()
Currently patch_imm32_load_insns() is used to load an instruction to r4 to be emulated by emulate_step(). For prefixed instructions we would like to be able to load a 64bit immediate to r4. To prepare for this make patch_imm64_load_insns() take an argument that decides which register to load an immediate to - rather than hardcoding r3. Signed-off-by: Jordan Niethe <jniethe5@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200516115449.4168796-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/lib/sstep.c')
0 files changed, 0 insertions, 0 deletions