Various files pick up flushtlb.h transitively through mm.h. Fix these, and
finally resolve the TODO in microcode/amd.c
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Anthony PERARD <anthony.perard@vates.tech>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Jan Beulich <jbeulich@suse.com>
CC: Julien Grall <julien@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
CC: Bertrand Marquis <bertrand.marquis@arm.com>
CC: Oleksii Kurochko <oleksii.kurochko@gmail.com>
CC: Shawn Anastasio <sanastasio@raptorengineering.com>
v2:
* hyperv/tlb.c as well
#include <asm/alternative.h>
#include <asm/apic.h>
#include <asm/endbr.h>
+#include <asm/flushtlb.h>
#include <asm/nmi.h>
#include <asm/nops.h>
#include <asm/processor.h>
#include <xen/bsearch.h>
#include <xen/err.h>
#include <xen/init.h>
-#include <xen/mm.h> /* TODO: Fix asm/tlbflush.h breakage */
#include <xen/sha2.h>
+#include <asm/flushtlb.h>
#include <asm/msr.h>
#include "private.h"
#include <xen/cpumask.h>
#include <xen/errno.h>
+#include <asm/flushtlb.h>
#include <asm/guest/hyperv.h>
#include <asm/guest/hyperv-hcall.h>
#include <asm/guest/hyperv-tlfs.h>
#include <asm/endbr.h>
#include <asm/fixmap.h>
+#include <asm/flushtlb.h>
#include <asm/nmi.h>
#include <asm/setup.h>
/* Return the upper bound of MFNs, including hotplug memory. */
unsigned long get_upper_mfn_bound(void);
-#if defined(CONFIG_X86)
-#include <asm/flushtlb.h>
-#endif
-
enum XENSHARE_flags {
SHARE_rw,
SHARE_ro,