[PATCH] Fix typo in i386 single step changes

From: Andi Kleen
Date: Sun Jan 02 2005 - 18:33:52 EST



Fix an obvious typo in the recent i386 single stepping changes.

I would recommend to redo all the Wine etc. testing that lead to this patch
since it probably never worked.

Signed-off-by: Andi Kleen <ak@xxxxxx>

--- linux-2.6.10-bk5/arch/i386/kernel/traps.c-o Mon Jan 3 01:02:06 2005
+++ linux-2.6.10-bk5/arch/i386/kernel/traps.c Mon Jan 3 01:03:05 2005
@@ -725,7 +725,7 @@
if (tsk->ptrace & PT_DTRACE) {
regs->eflags &= ~TF_MASK;
tsk->ptrace &= ~PT_DTRACE;
- if (!tsk->ptrace & PT_DTRACE)
+ if (!(tsk->ptrace & PT_DTRACE))
goto clear_TF;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/