x86, ptrace: Fix block-step
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 25 Mar 2010 13:51:51 +0000 (14:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Mar 2010 10:33:57 +0000 (11:33 +0100)
commitea8e61b7bbc4a2faef77db34eb2db2a2c2372ff6
treedf2998225dc10245ce3d392576a724ab788e456c
parentfaa4602e47690fb11221e00f9b9697c8dc0d4b19
x86, ptrace: Fix block-step

Implement ptrace-block-step using TIF_BLOCKSTEP which will set
DEBUGCTLMSR_BTF when set for a task while preserving any other
DEBUGCTLMSR bits.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100325135414.017536066@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/processor.h
arch/x86/include/asm/thread_info.h
arch/x86/kernel/kprobes.c
arch/x86/kernel/process.c
arch/x86/kernel/step.c
arch/x86/kernel/traps.c