Skip to contentSkip to conversation

KVM: x86: Remove .get_pkru() from kvm_x86_ops

PATCH Applied Joerg Roedel 2 participants 2 messages Aug 28, 2017 – Sep 13, 2017

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

PATCH 1/1 KVM: x86: Remove .get_pkru() from kvm_x86_ops

From: Joerg Roedel <[email protected]>

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.

---
 arch/x86/include/asm/kvm_host.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/kvm_host.h +0 -1
index f4d120a3e22e..bf1a63b20567 100644
@@ -947,7 +947,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);
 
Signature · 1 line
2.13.5