aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/step.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 13:30:50 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:50 +0100
commit5f76cb1f6c42e7575256595f85b8b97d84ec669e (patch)
treef16a32e7a49109a381880bfabb9e1ab496844249 /arch/x86/kernel/step.c
parentx86: single_step segment macros (diff)
downloadlinux-dev-5f76cb1f6c42e7575256595f85b8b97d84ec669e.tar.xz
linux-dev-5f76cb1f6c42e7575256595f85b8b97d84ec669e.zip
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 <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/step.c')
-rw-r--r--arch/x86/kernel/step.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/step.c b/arch/x86/kernel/step.c
index 3b70f20f21f9..6a93b93f91f1 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: