Skip to content

Commit

Permalink
kvm: Delete prototype for non-existent function kvm_check_iopl
Browse files Browse the repository at this point in the history
The prototype for kvm_check_iopl appeared in commit
f850e2e ("KVM: x86 emulator: Check IOPL
level during io instruction emulation"), but the function never actually
existed.  Remove the prototype.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
  • Loading branch information
Josh Triplett authored and Gleb Natapov committed Nov 6, 2013
1 parent 35a5121 commit a890b6f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a890b6f

Please sign in to comment.