summaryrefslogtreecommitdiff
path: root/kernel/lglock.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-23 21:10:18 +0200
committerOleg Nesterov <oleg@redhat.com>2012-09-29 21:21:54 +0200
commitcceb55aab73d2aea8f4d6f7414d2e1b647a3dacb (patch)
tree3da300ea711b72be0d5dc846d65f94695c5a7ed5 /kernel/lglock.c
parente97f65a17deafacc360a4cb75ae944897ecea6d7 (diff)
uprobes: Introduce copy_opcode(), kill read_opcode()
No functional changes, preparations. 1. Extract the kmap-and-memcpy code from read_opcode() into the new trivial helper, copy_opcode(). The next patch will add another user. 2. read_opcode() becomes really trivial, fold it into its single caller, is_swbp_at_addr(). 3. Remove "auprobe" argument from write_opcode(), it is not used since f403072c6. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/lglock.c')
0 files changed, 0 insertions, 0 deletions