uprobes: Turn copy_opcode() into copy_from_page()
authorOleg Nesterov <oleg@redhat.com>
Sun, 24 Mar 2013 17:24:37 +0000 (18:24 +0100)
committerOleg Nesterov <oleg@redhat.com>
Thu, 4 Apr 2013 11:57:04 +0000 (13:57 +0200)
commitab0d805c7b9089f9a9b291f33ab95301d6604868
tree6162392a40c89694c9d9c39453df73e6430433d5
parent3c9eb54f71fed86b761a6da4ad3eedc9566ceb8d
uprobes: Turn copy_opcode() into copy_from_page()

No functional changes. Rename copy_opcode() into copy_from_page() and
add the new "int len" argument to make it more more generic for the
new users.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c