return 0;
}
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86
if ( p2m_is_shared(p2mt) )
{
/* Unshare the page, bail out on error. We unshare because
mfn = mfn_x(get_gfn_query_unlocked(d, gmfn, &p2mt));
ASSERT(!p2m_is_shared(p2mt));
}
-#endif /* CONFIG_X86_64 */
+#endif /* CONFIG_X86 */
page = mfn_to_page(mfn);
if ( unlikely(!get_page(page, d)) )
u16 ats_queue_depth; /* ATS device invalidation queue depth */
};
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86
#define ATS_REG_CAP 4
#define ATS_REG_CTL 6
struct acpi_drhd_unit * iommu_to_drhd(struct iommu *iommu);
struct acpi_rhsa_unit * drhd_to_rhsa(struct acpi_drhd_unit *drhd);
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86
struct acpi_drhd_unit * find_ats_dev_drhd(struct iommu *iommu);
int ats_device(const struct pci_dev *, const struct acpi_drhd_unit *);
*/
void __init pci_vtd_quirk(struct pci_dev *pdev)
{
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86
int seg = pdev->seg;
int bus = pdev->bus;
int dev = PCI_SLOT(pdev->devfn);
obj-y += vtd.o
-obj-$(CONFIG_X86_64) += ats.o
+obj-y += ats.o
-obj-$(CONFIG_X86_64) += ats.o
+obj-y += ats.o
-obj-y := vga.o
-obj-$(CONFIG_X86_64) += font_8x14.o
-obj-$(CONFIG_X86_64) += font_8x16.o
-obj-$(CONFIG_X86_64) += font_8x8.o
-obj-$(CONFIG_X86_64) += vesa.o
+obj-y := vga.o
+obj-$(CONFIG_X86) += font_8x14.o
+obj-$(CONFIG_X86) += font_8x16.o
+obj-$(CONFIG_X86) += font_8x8.o
+obj-$(CONFIG_X86) += vesa.o
static unsigned int columns, lines;
#define ATTRIBUTE 7
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86
void vesa_early_init(void);
void vesa_endboot(bool_t keep);
#else
#define asmlinkage
-#define CONFIG_X86_64 1
#define CONFIG_COMPAT 1
#define PML4_ENTRY_BITS 39