]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
uprobes: Fold xol_alloc_area() into get_xol_area()
authorOleg Nesterov <oleg@redhat.com>
Mon, 31 Dec 2012 15:39:49 +0000 (16:39 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 16:47:11 +0000 (17:47 +0100)
commit9b545df809644912552360054c7bbe8b8a9e01fa
treeca558fdf71d30ec0bc5ef2f821b06b45b13ff5b0
parentc8a82538001e1a68f4a319d5a75de90d1f284731
uprobes: Fold xol_alloc_area() into get_xol_area()

Currently only xol_get_insn_slot() does get_xol_area() + xol_alloc_area(),
but this will have more users and we do not want to copy-and-paste this
code. This patch simply moves xol_alloc_area() into get_xol_area() to
simplify the current and future 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