uprobes: Change __copy_insn() to use copy_from_page()
authorOleg Nesterov <oleg@redhat.com>
Sun, 24 Mar 2013 17:37:48 +0000 (18:37 +0100)
committerOleg Nesterov <oleg@redhat.com>
Thu, 4 Apr 2013 11:57:05 +0000 (13:57 +0200)
commit2edb7b5574d447354202ba365fb8ca6a1bac1d1c
treeb26cd1b630261aa7507652975a32510d1a987ee6
parentab0d805c7b9089f9a9b291f33ab95301d6604868
uprobes: Change __copy_insn() to use copy_from_page()

Change __copy_insn() to use copy_from_page() and simplify the code.

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