diff options
author | Andre Przywara <andre.przywara@amd.com> | 2012-06-01 10:52:35 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-06-07 14:41:08 -0400 |
commit | 1f975f78c84c852e09463a2dfa57e3174e5c719e (patch) | |
tree | c17ce1da0c14ab7850c880a7b61fc2b8a890d623 /arch/x86/xen | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
x86, pvops: Remove hooks for {rd,wr}msr_safe_regs
There were paravirt_ops hooks for the full register set variant of
{rd,wr}msr_safe which are actually not used by anyone anymore. Remove
them to make the code cleaner and avoid silent breakages when the pvops
members were uninitialized. This has been boot-tested natively and under
Xen with PVOPS enabled and disabled on one machine.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Link: http://lkml.kernel.org/r/1338562358-28182-2-git-send-email-bp@amd64.org
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index e74df9548a02..60f1131eb94f 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1116,9 +1116,7 @@ static const struct pv_cpu_ops xen_cpu_ops __initconst = { | |||
1116 | .wbinvd = native_wbinvd, | 1116 | .wbinvd = native_wbinvd, |
1117 | 1117 | ||
1118 | .read_msr = native_read_msr_safe, | 1118 | .read_msr = native_read_msr_safe, |
1119 | .rdmsr_regs = native_rdmsr_safe_regs, | ||
1120 | .write_msr = xen_write_msr_safe, | 1119 | .write_msr = xen_write_msr_safe, |
1121 | .wrmsr_regs = native_wrmsr_safe_regs, | ||
1122 | 1120 | ||
1123 | .read_tsc = native_read_tsc, | 1121 | .read_tsc = native_read_tsc, |
1124 | .read_pmc = native_read_pmc, | 1122 | .read_pmc = native_read_pmc, |