]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ptrace/x86: Introduce set_task_blockstep() helper
authorOleg Nesterov <oleg@redhat.com>
Fri, 3 Aug 2012 15:31:46 +0000 (17:31 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 20 Feb 2013 03:15:29 +0000 (03:15 +0000)
commit6d0d3f3aca8f6ec0cd91d062abab0196905a9352
tree1cc91cba92f02260dbf7b150b8db42fd95373ac3
parentf50fa70d35d3df3230ed51dcea309660183570ac
ptrace/x86: Introduce set_task_blockstep() helper

commit 848e8f5f0ad3169560c516fff6471be65f76e69f upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kernel/step.c