Skip to content

Commit

Permalink
KVM: x86: Remove .get_pkru() from kvm_x86_ops
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
  • Loading branch information
joergroedel authored and rkrcmar committed Sep 13, 2017
1 parent 0756b7f commit 98152b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 98152b8

Please sign in to comment.