On 19/07/17 12:57, Andrew Cooper wrote: > No functional change. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
I have just realise I can now drop msraddr_to_bitpos(), so have folded the additional hunk into this patch. diff --git a/xen/arch/x86/cpu/vpmu_intel.c b/xen/arch/x86/cpu/vpmu_intel.c index d58eca3..207e2e7 100644 --- a/xen/arch/x86/cpu/vpmu_intel.c +++ b/xen/arch/x86/cpu/vpmu_intel.c @@ -225,12 +225,6 @@ static int is_core2_vpmu_msr(u32 msr_index, int *type, int *index) } } -static inline int msraddr_to_bitpos(int x) -{ - ASSERT(x == (x & 0x1fff)); - return x; -} - static void core2_vpmu_set_msr_bitmap(struct vcpu *v) { unsigned int i; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel