From: Roland McGrath Date: Wed, 30 Jan 2008 12:30:50 +0000 (+0100) Subject: x86: single_step 0xf0 X-Git-Tag: v2.6.25-rc1~1143^2~705 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f76cb1f6c42e7575256595f85b8b97d84ec669e;p=linux-2.6 x86: single_step 0xf0 This fixes the 64-bit single-step handling code's instruction decoder to grok the 0xf0 (lock) prefix, which the 32-bit code already does correctly. Signed-off-by: Roland McGrath Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/step.c b/arch/x86/kernel/step.c index 3b70f20f21..6a93b93f91 100644 --- a/arch/x86/kernel/step.c +++ b/arch/x86/kernel/step.c @@ -66,7 +66,7 @@ static int is_setting_trap_flag(struct task_struct *child, struct pt_regs *regs) case 0x26: case 0x2e: case 0x36: case 0x3e: case 0x64: case 0x65: - case 0xf2: case 0xf3: + case 0xf0: case 0xf2: case 0xf3: continue; case 0x40 ... 0x4f: