ptrace/x86: Introduce set_task_blockstep() helper
commit848e8f5f0ad3169560c516fff6471be65f76e69f
authorOleg Nesterov <oleg@redhat.com>
Fri, 3 Aug 2012 15:31:46 +0000 (3 17:31 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 15 Sep 2012 15:37:28 +0000 (15 17:37 +0200)
tree9dac513988974bcbe948529f1565db03d981727b
parentbdc1e47217315be14ba04881b0a4c8ecb3ff320c
ptrace/x86: Introduce set_task_blockstep() helper

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