Searched refs:patch_addr (Results 1 – 1 of 1) sorted by relevance
/linux/arch/powerpc/lib/ |
A D | code-patching.c | 21 static int __patch_instruction(u32 *exec_addr, struct ppc_inst instr, u32 *patch_addr) in __patch_instruction() argument 26 __put_kernel_nofault(patch_addr, &val, u32, failed); in __patch_instruction() 30 __put_kernel_nofault(patch_addr, &val, u64, failed); in __patch_instruction() 33 asm ("dcbst 0, %0; sync; icbi 0,%1; sync; isync" :: "r" (patch_addr), in __patch_instruction() 147 u32 *patch_addr = NULL; in do_patch_instruction() local 168 patch_addr = (u32 *)(text_poke_addr + (kaddr & ~PAGE_MASK)); in do_patch_instruction() 170 __patch_instruction(addr, instr, patch_addr); in do_patch_instruction()
|
Completed in 4 milliseconds