Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/lib/
Dcode-patching.c91 static int map_patch_area(void *addr, unsigned long text_poke_addr) in map_patch_area() argument
101 err = map_kernel_page(text_poke_addr, (pfn << PAGE_SHIFT), in map_patch_area()
104 pr_devel("Mapped addr %lx with pfn %lx:%d\n", text_poke_addr, pfn, err); in map_patch_area()
150 unsigned long text_poke_addr; in do_patch_instruction() local
163 text_poke_addr = (unsigned long)__this_cpu_read(text_poke_area)->addr; in do_patch_instruction()
164 if (map_patch_area(addr, text_poke_addr)) { in do_patch_instruction()
169 patch_addr = (unsigned int *)(text_poke_addr) + in do_patch_instruction()
174 err = unmap_patch_area(text_poke_addr); in do_patch_instruction()
176 pr_warn("failed to unmap %lx\n", text_poke_addr); in do_patch_instruction()