uprobes: Change write_opcode() to use copy_*page()
authorOleg Nesterov <oleg@redhat.com>
Sun, 24 Mar 2013 18:04:36 +0000 (19:04 +0100)
committerOleg Nesterov <oleg@redhat.com>
Thu, 4 Apr 2013 11:57:06 +0000 (13:57 +0200)
commit3f47107c5c2972ca47f216889080f6ef818b25e3
tree04ecd196e2f307dded5e80a1cb19cab389652722
parent5669ccee21d87622f30a724b3fe0d04ec5b0afae
uprobes: Change write_opcode() to use copy_*page()

Change write_opcode() to use copy_highpage() + copy_to_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