aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/lguest/i386_head.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/lguest/i386_head.S b/arch/x86/lguest/i386_head.S
index 863b03a9fbff..c8c95e575c1e 100644
--- a/arch/x86/lguest/i386_head.S
+++ b/arch/x86/lguest/i386_head.S
@@ -101,12 +101,8 @@ send_interrupts:
101 */ 101 */
102 pushl %eax 102 pushl %eax
103 movl $LHCALL_SEND_INTERRUPTS, %eax 103 movl $LHCALL_SEND_INTERRUPTS, %eax
104 /* 104 /* This is the actual hypercall trap. */
105 * This is a vmcall instruction (same thing that KVM uses). Older 105 int $LGUEST_TRAP_ENTRY
106 * assembler versions might not know the "vmcall" instruction, so we
107 * create one manually here.
108 */
109 .byte 0x0f,0x01,0xc1 /* KVM_HYPERCALL */
110 /* Put eax back the way we found it. */ 106 /* Put eax back the way we found it. */
111 popl %eax 107 popl %eax
112 ret 108 ret