KVM: x86: Remove .get_pkru() from kvm_x86_ops
authorJoerg Roedel <jroedel@suse.de>
Mon, 28 Aug 2017 14:38:35 +0000 (16:38 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 13 Sep 2017 13:33:04 +0000 (15:33 +0200)
The commit

9dd21e104bc ('KVM: x86: simplify handling of PKRU')

removed all users and providers of that call-back, but
didn't remove it. Remove it now.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/include/asm/kvm_host.h

index 8844eee290b268b11a8404b1d3305551c6b98203..bbb802382a3e4aa9ba56ffb537b7a3503cd535a9 100644 (file)
@@ -951,7 +951,6 @@ struct kvm_x86_ops {
        void (*cache_reg)(struct kvm_vcpu *vcpu, enum kvm_reg reg);
        unsigned long (*get_rflags)(struct kvm_vcpu *vcpu);
        void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags);
-       u32 (*get_pkru)(struct kvm_vcpu *vcpu);
 
        void (*tlb_flush)(struct kvm_vcpu *vcpu);