From: Oleg Nesterov Date: Mon, 31 Dec 2012 17:00:06 +0000 (+0100) Subject: uprobes: Do not play with utask in xol_get_insn_slot() X-Git-Tag: v3.9-rc1~173^2~2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6cb3f6d51253e9cf21a38b17c025018117809d7;p=pandora-kernel.git uprobes: Do not play with utask in xol_get_insn_slot() pre_ssout()->xol_get_insn_slot() path is confusing and buggy. This patch cleanups the code, the next one fixes the bug. Change xol_get_insn_slot() to only allocate the slot and do nothing more, move the initialization of utask->xol_vaddr/vaddr into pre_ssout(). Signed-off-by: Oleg Nesterov Acked-by: Anton Arapov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed