Since none of the declarations and macro definitions in asm/hvm/support.h is
referred in x86/cpu/hygon.c, remove the unnecessary include.
To resolve the subsequent build error for implicit declaration of wrmsrl()
and rdmsrl() triggered in asm/spec_ctrl.h, replace asm/msr-index.h with
asm/msr.h in asm/spec_ctrl.h's included headers.
No functional change intended.
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
#include <xen/init.h>
#include <asm/processor.h>
-#include <asm/hvm/support.h>
#include <asm/spec_ctrl.h>
#include "cpu.h"
#include <asm/alternative.h>
#include <asm/current.h>
-#include <asm/msr-index.h>
+#include <asm/msr.h>
void init_speculation_mitigations(void);
void spec_ctrl_init_domain(struct domain *d);