From 43689bcfed82ecb780bd0e54543609fe3c080623 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 17 Jan 2019 10:51:56 +0100 Subject: executor: remove unused kvm_asm64_vm86 -Wunused-const-variable shows it. No idea now if it should be used or not, seems to be the same as kvm_asm32_paged_vm86. So let's just remove it. --- executor/kvm.S | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'executor/kvm.S') diff --git a/executor/kvm.S b/executor/kvm.S index 896c59104..1f64e304f 100644 --- a/executor/kvm.S +++ b/executor/kvm.S @@ -50,18 +50,6 @@ kvm_asm32_paged_vm86: kvm_asm32_paged_vm86_end: nop -.global kvm_asm64_vm86, kvm_asm64_vm86_end -kvm_asm64_vm86: -.code32 - mov %cr0, %eax - or $0x80000000, %eax - mov %eax, %cr0 - mov $SEL_TSS32, %ax - ltr %ax - ljmp $SEL_TSS32_VM86, $0 -kvm_asm64_vm86_end: - nop - .global kvm_asm16_cpl3, kvm_asm16_cpl3_end kvm_asm16_cpl3: .code16 -- cgit mrf-deployment