summaryrefslogtreecommitdiffstats
path: root/fs
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 /fs
parente97f65a17deafacc360a4cb75ae944897ecea6d7 (diff)
downloadop-kernel-dev-cceb55aab73d2aea8f4d6f7414d2e1b647a3dacb.zip
op-kernel-dev-cceb55aab73d2aea8f4d6f7414d2e1b647a3dacb.tar.gz
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 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud