|
@@ -1194,7 +1194,7 @@ static struct xol_area *__create_xol_area(unsigned long vaddr)
|
|
|
/* Reserve the 1st slot for get_trampoline_vaddr() */
|
|
/* Reserve the 1st slot for get_trampoline_vaddr() */
|
|
|
set_bit(0, area->bitmap);
|
|
set_bit(0, area->bitmap);
|
|
|
atomic_set(&area->slot_count, 1);
|
|
atomic_set(&area->slot_count, 1);
|
|
|
- copy_to_page(area->pages[0], 0, &insn, UPROBE_SWBP_INSN_SIZE);
|
|
|
|
|
|
|
+ arch_uprobe_copy_ixol(area->pages[0], 0, &insn, UPROBE_SWBP_INSN_SIZE);
|
|
|
|
|
|
|
|
if (!xol_add_vma(mm, area))
|
|
if (!xol_add_vma(mm, area))
|
|
|
return area;
|
|
return area;
|