Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/lib/
Dcode-patching.c86 static int map_patch_area(void *addr, unsigned long text_poke_addr) in map_patch_area() argument
96 err = map_kernel_page(text_poke_addr, (pfn << PAGE_SHIFT), PAGE_KERNEL); in map_patch_area()
98 pr_devel("Mapped addr %lx with pfn %lx:%d\n", text_poke_addr, pfn, err); in map_patch_area()
144 unsigned long text_poke_addr; in do_patch_instruction() local
157 text_poke_addr = (unsigned long)__this_cpu_read(text_poke_area)->addr; in do_patch_instruction()
158 if (map_patch_area(addr, text_poke_addr)) { in do_patch_instruction()
163 patch_addr = (unsigned int *)(text_poke_addr) + in do_patch_instruction()
168 err = unmap_patch_area(text_poke_addr); in do_patch_instruction()
170 pr_warn("failed to unmap %lx\n", text_poke_addr); in do_patch_instruction()