Home
last modified time | relevance | path

Searched refs:patch_addr (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/lib/
Dcode-patching.c22 struct ppc_inst *patch_addr) in __patch_instruction() argument
25 __put_user_asm_goto(ppc_inst_val(instr), patch_addr, failed, "stw"); in __patch_instruction()
27 __put_user_asm_goto(ppc_inst_as_u64(instr), patch_addr, failed, "std"); in __patch_instruction()
29 asm ("dcbst 0, %0; sync; icbi 0,%1; sync; isync" :: "r" (patch_addr), in __patch_instruction()
149 struct ppc_inst *patch_addr = NULL; in do_patch_instruction() local
170 patch_addr = (struct ppc_inst *)(text_poke_addr + (kaddr & ~PAGE_MASK)); in do_patch_instruction()
172 __patch_instruction(addr, instr, patch_addr); in do_patch_instruction()