From: Keir Fraser Date: Wed, 12 Sep 2012 19:32:52 +0000 (+0100) Subject: CONFIG_X86_64 -> CONFIG_X86 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7918 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fe4ebf84c6aaa4d96ab333cbd478cb67a818814c;p=xen.git CONFIG_X86_64 -> CONFIG_X86 Signed-off-by: Keir Fraser --- diff --git a/xen/common/memory.c b/xen/common/memory.c index 8779d6bd7d..5bcb035086 100644 --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -188,7 +188,7 @@ int guest_remove_page(struct domain *d, unsigned long gmfn) return 0; } -#ifdef CONFIG_X86_64 +#ifdef CONFIG_X86 if ( p2m_is_shared(p2mt) ) { /* Unshare the page, bail out on error. We unshare because @@ -205,7 +205,7 @@ int guest_remove_page(struct domain *d, unsigned long gmfn) 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)) ) diff --git a/xen/drivers/passthrough/ats.h b/xen/drivers/passthrough/ats.h index 5cb09ead1a..a6efa893b2 100644 --- a/xen/drivers/passthrough/ats.h +++ b/xen/drivers/passthrough/ats.h @@ -26,7 +26,7 @@ struct pci_ats_dev { 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 diff --git a/xen/drivers/passthrough/vtd/extern.h b/xen/drivers/passthrough/vtd/extern.h index bcfa8702d9..0823218e15 100644 --- a/xen/drivers/passthrough/vtd/extern.h +++ b/xen/drivers/passthrough/vtd/extern.h @@ -56,7 +56,7 @@ struct acpi_drhd_unit * ioapic_to_drhd(unsigned int apic_id); 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 *); diff --git a/xen/drivers/passthrough/vtd/quirks.c b/xen/drivers/passthrough/vtd/quirks.c index 6b92164c45..da79dd78bc 100644 --- a/xen/drivers/passthrough/vtd/quirks.c +++ b/xen/drivers/passthrough/vtd/quirks.c @@ -363,7 +363,7 @@ void me_wifi_quirk(struct domain *domain, u8 bus, u8 devfn, int map) */ 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); diff --git a/xen/drivers/passthrough/vtd/x86/Makefile b/xen/drivers/passthrough/vtd/x86/Makefile index a24bd271c7..df4509db40 100644 --- a/xen/drivers/passthrough/vtd/x86/Makefile +++ b/xen/drivers/passthrough/vtd/x86/Makefile @@ -1,2 +1,2 @@ obj-y += vtd.o -obj-$(CONFIG_X86_64) += ats.o +obj-y += ats.o diff --git a/xen/drivers/passthrough/x86/Makefile b/xen/drivers/passthrough/x86/Makefile index 644f4dd51c..c124a5178a 100644 --- a/xen/drivers/passthrough/x86/Makefile +++ b/xen/drivers/passthrough/x86/Makefile @@ -1 +1 @@ -obj-$(CONFIG_X86_64) += ats.o +obj-y += ats.o diff --git a/xen/drivers/video/Makefile b/xen/drivers/video/Makefile index b1f5bd7d0c..6c3e5b4ba7 100644 --- a/xen/drivers/video/Makefile +++ b/xen/drivers/video/Makefile @@ -1,5 +1,5 @@ -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 diff --git a/xen/drivers/video/vga.c b/xen/drivers/video/vga.c index 9fabaf4ab4..a98bd00034 100644 --- a/xen/drivers/video/vga.c +++ b/xen/drivers/video/vga.c @@ -54,7 +54,7 @@ string_param("vga", opt_vga); 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 diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h index b695915001..b69dbe6a37 100644 --- a/xen/include/asm-x86/config.h +++ b/xen/include/asm-x86/config.h @@ -107,7 +107,6 @@ extern unsigned char boot_edid_info[128]; #define asmlinkage -#define CONFIG_X86_64 1 #define CONFIG_COMPAT 1 #define PML4_ENTRY_BITS 39