x86/asm: Include msr-index.h rather than msr.h

There is nothing interesting for assembly code in msr.h.  Include msr-index.h
instead, and drop the __ASSEMBLY__ guards in msr.h.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2019-08-07 13:34:56 +01:00
1 parent 3889a84750
commit ea131e2ed3
3 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
#include <asm/fixmap.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/msr-index.h>
#include <asm/cpufeature.h>
#include <public/elfnote.h>
+1 -1
View File
@@ -16,7 +16,7 @@
#include <xen/kimage.h>
#include <asm/asm_defns.h>
#include <asm/msr.h>
#include <asm/msr-index.h>
#include <asm/page.h>
#include <asm/machine_kexec.h>
-4
View File
@@ -3,8 +3,6 @@
#include "msr-index.h"
#ifndef __ASSEMBLY__
#include <xen/types.h>
#include <xen/percpu.h>
#include <xen/errno.h>
@@ -336,6 +334,4 @@ int init_vcpu_msr_policy(struct vcpu *v);
int guest_rdmsr(struct vcpu *v, uint32_t msr, uint64_t *val);
int guest_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val);
#endif /* !__ASSEMBLY__ */
#endif /* __ASM_MSR_H */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.