Skip to contentSkip to conversation

kvm: Delete prototype for non-existent function kvm_check_iopl

PATCH Applied Josh Triplett 1 participant 1 message Oct 20, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 kvm: Delete prototype for non-existent function kvm_check_iopl

The prototype for kvm_check_iopl appeared in commit f850e2e603bf5a05b0aee7901857cf85715aa694 ("KVM: x86 emulator: Check IOPL level during io instruction emulation"), but the function never actually existed. Remove the prototype.

---
 arch/x86/include/asm/kvm_host.h | 2 --
 1 file changed, 2 deletions(-)
arch/x86/include/asm/kvm_host.h +0 -2
index 00c5f44..ea52306 100644
@@ -926,8 +926,6 @@ void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva);
 void kvm_enable_tdp(void);
 void kvm_disable_tdp(void);
 
-bool kvm_check_iopl(struct kvm_vcpu *vcpu);
-
 static inline gpa_t translate_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access)
 {
 	return gpa;
Signature · 1 line
1.8.4.rc3