Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/lib/
Dcode-patching.c18 static int __patch_instruction(u32 *exec_addr, ppc_inst_t instr, u32 *patch_addr) in __patch_instruction() argument
23 __put_kernel_nofault(patch_addr, &val, u32, failed); in __patch_instruction()
27 __put_kernel_nofault(patch_addr, &val, u64, failed); in __patch_instruction()
30 asm ("dcbst 0, %0; sync; icbi 0,%1; sync; isync" :: "r" (patch_addr), in __patch_instruction()
153 u32 *patch_addr; in __do_patch_instruction() local
159 patch_addr = (u32 *)(text_poke_addr + offset_in_page(addr)); in __do_patch_instruction()
167 err = __patch_instruction(addr, instr, patch_addr); in __do_patch_instruction()