pkgsrc-ng/sysutils/xenkernel3/patches/patch-xen_arch_x86_x86__64_entry.S
2016-10-14 07:49:11 +02:00

14 lines
525 B
ArmAsm

$NetBSD: patch-xen_arch_x86_x86__64_entry.S,v 1.1 2016/03/01 20:09:03 joerg Exp $
--- xen/arch/x86/x86_64/entry.S.orig 2016-03-01 12:46:20.394327040 +0000
+++ xen/arch/x86/x86_64/entry.S
@@ -47,7 +47,7 @@ restore_all_guest:
addq $8,%rsp
popq %rcx # RIP
popq %r11 # CS
- cmpw $FLAT_KERNEL_CS32,%r11
+ cmpw $FLAT_KERNEL_CS32,%r11w
popq %r11 # RFLAGS
popq %rsp # RSP
je 1f