Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a890b6fe authored by Josh Triplett's avatar Josh Triplett Committed by Gleb Natapov
Browse files

kvm: Delete prototype for non-existent function kvm_check_iopl



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

Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent 35a5121b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -936,8 +936,6 @@ void kvm_mmu_new_cr3(struct kvm_vcpu *vcpu);
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;