From: Oleg Nesterov Date: Fri, 14 Sep 2012 16:23:51 +0000 (+0200) Subject: uprobes: Do not setup ->active_uprobe/state prematurely X-Git-Tag: v3.7-rc3~40^2~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=746a9e6ba24af2ccf03279c99d435a1b88ca5d17;p=pandora-kernel.git uprobes: Do not setup ->active_uprobe/state prematurely handle_swbp() sets utask->active_uprobe before handler_chain(), and UTASK_SSTEP before pre_ssout(). This complicates the code for no reason, arch_ hooks or consumer->handler() should not (and can't) use this info. Change handle_swbp() to initialize them after pre_ssout(), and remove the no longer needed cleanup-utask code. Signed-off-by: Oleg Nesterov cked-by: Srikar Dronamraju --- Reading git-diff-tree failed