From: Anton Arapov Date: Wed, 3 Apr 2013 16:00:32 +0000 (+0200) Subject: uretprobes: Reserve the first slot in xol_vma for trampoline X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~119^2~9^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78aebfd27256ca59ccd3e6cf62cfad2a80e02d3;p=pandora-kernel.git uretprobes: Reserve the first slot in xol_vma for trampoline Allocate trampoline page, as the very first one in uprobed task xol area, and fill it with breakpoint opcode. Also introduce get_trampoline_vaddr() helper, to wrap the trampoline address extraction from area->vaddr. That removes confusion and eases the debug experience in case ->vaddr notion will be changed. Signed-off-by: Anton Arapov Acked-by: Srikar Dronamraju Signed-off-by: Oleg Nesterov --- Reading git-diff-tree failed