mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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:
1 parent
3889a84750
commit
ea131e2ed3
3 files changed
+2
-6
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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 */
|
||||