summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/kernel/head_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/kernel/head_32.S')
-rw-r--r--kernel/arch/x86/kernel/head_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/x86/kernel/head_32.S b/kernel/arch/x86/kernel/head_32.S
index 6bc9ae24b..8f1a3f443 100644
--- a/kernel/arch/x86/kernel/head_32.S
+++ b/kernel/arch/x86/kernel/head_32.S
@@ -571,7 +571,7 @@ early_idt_handler_common:
movl %eax,%ds
movl %eax,%es
- cmpl $(__KERNEL_CS),32(%esp)
+ cmpw $(__KERNEL_CS),32(%esp)
jne 10f
leal 28(%esp),%eax # Pointer to %eip