Neither iommu.c nor quirks.c use any functionality. iommu.c only uses it to
transitively include apic.h and io_apic.h, while quirks.c is only depending on
the ACLINUX wrapping of strtoul() which we spell simple_strtoul() everywhere
else in Xen.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
#include <xen/pci.h>
#include <xen/pci_regs.h>
#include <xen/keyhandler.h>
+
+#include <asm/apic.h>
+#include <asm/io_apic.h>
#include <asm/msi.h>
#include <asm/nops.h>
#include <asm/irq.h>
#include <asm/hvm/vmx/vmx.h>
#include <asm/p2m.h>
-#include <mach_apic.h>
+
#include "iommu.h"
#include "dmar.h"
#include "extern.h"
#include <asm/msi.h>
#include <asm/irq.h>
#include <asm/pci.h>
-#include <mach_apic.h>
+
#include "iommu.h"
#include "dmar.h"
#include "extern.h"
else if ( strcmp(s, "cap") == 0 )
t = SNB_IGD_TIMEOUT;
else
- t = strtoul(s, &q, 0);
+ t = simple_strtoul(s, &q, 0);
}
else
t = t ? SNB_IGD_TIMEOUT_LEGACY : 0;