Skip to content
Commit f72d41fa authored by Oleg Nesterov's avatar Oleg Nesterov
Browse files

uprobes: Export write_opcode() as uprobe_write_opcode()



set_swbp() and set_orig_insn() are __weak, but this is pointless
because write_opcode() is static.

Export write_opcode() as uprobe_write_opcode() for the upcoming
arm port, this way it can actually override set_swbp() and use
__opcode_to_mem_arm(bpinsn) instead if UPROBE_SWBP_INSN.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
parent 8a8de66c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment