Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1721682 > unrolled thread

[PATCH] KVM: x86: Remove .get_pkru() from kvm_x86_ops

Started byJoerg Roedel <joro@8bytes.org>
First post2017-08-28 16:40 +0200
Last post2017-08-28 16:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] KVM: x86: Remove .get_pkru() from kvm_x86_ops Joerg Roedel <joro@8bytes.org> - 2017-08-28 16:40 +0200

#1721682 — [PATCH] KVM: x86: Remove .get_pkru() from kvm_x86_ops

FromJoerg Roedel <joro@8bytes.org>
Date2017-08-28 16:40 +0200
Subject[PATCH] KVM: x86: Remove .get_pkru() from kvm_x86_ops
Message-ID<ujtmO-6J9-29@gated-at.bofh.it>
From: Joerg Roedel <jroedel@suse.de>

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>
---
 arch/x86/include/asm/kvm_host.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index f4d120a3e22e..bf1a63b20567 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -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);
 
-- 
2.13.5

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web