aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/kgdb.c')
-rw-r--r--arch/x86/kernel/kgdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c
index 8c7e555f6d39..24362ecf5f9a 100644
--- a/arch/x86/kernel/kgdb.c
+++ b/arch/x86/kernel/kgdb.c
@@ -375,12 +375,12 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
375 newPC = linux_regs->ip; 375 newPC = linux_regs->ip;
376 376
377 /* clear the trace bit */ 377 /* clear the trace bit */
378 linux_regs->flags &= ~TF_MASK; 378 linux_regs->flags &= ~X86_EFLAGS_TF;
379 atomic_set(&kgdb_cpu_doing_single_step, -1); 379 atomic_set(&kgdb_cpu_doing_single_step, -1);
380 380
381 /* set the trace bit if we're stepping */ 381 /* set the trace bit if we're stepping */
382 if (remcomInBuffer[0] == 's') { 382 if (remcomInBuffer[0] == 's') {
383 linux_regs->flags |= TF_MASK; 383 linux_regs->flags |= X86_EFLAGS_TF;
384 kgdb_single_step = 1; 384 kgdb_single_step = 1;
385 if (kgdb_contthread) { 385 if (kgdb_contthread) {
386 atomic_set(&kgdb_cpu_doing_single_step, 386 atomic_set(&kgdb_cpu_doing_single_step,