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>
#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>
#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>
#include "msr-index.h"
-#ifndef __ASSEMBLY__
-
#include <xen/types.h>
#include <xen/percpu.h>
#include <xen/errno.h>
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 */