ptrace/x86: Introduce set_task_blockstep() helper
authorOleg Nesterov <oleg@redhat.com>
Fri, 3 Aug 2012 15:31:46 +0000 (17:31 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 15 Sep 2012 15:37:28 +0000 (17:37 +0200)
No functional changes, preparation for the next fix and for uprobes
single-step fixes.

Move the code playing with TIF_BLOCKSTEP/DEBUGCTLMSR_BTF into the
new helper, set_task_blockstep().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
arch/x86/kernel/step.c

Simple merge