From: Oleg Nesterov Date: Sun, 30 Dec 2012 14:54:08 +0000 (+0100) Subject: uprobes: Change handle_swbp() to expose bp_vaddr to handler_chain() X-Git-Tag: v3.9-rc1~173^2~2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74e59dfc6b19e3472a7c16ad57bc831e6e647895;p=pandora-kernel.git uprobes: Change handle_swbp() to expose bp_vaddr to handler_chain() Change handle_swbp() to set regs->ip = bp_vaddr in advance, this is what consumer->handler() needs but uprobe_get_swbp_addr() is not exported. This also simplifies the code and makes it more consistent across the supported architectures. handle_swbp() becomes the only caller of uprobe_get_swbp_addr(). Signed-off-by: Oleg Nesterov Acked-by: Ananth N Mavinakayanahalli --- Reading git-diff-tree failed