From: kaf24@firebug.cl.cam.ac.uk Date: Sat, 27 Aug 2005 11:49:35 +0000 (+0000) Subject: CONFIG_X86_PM_TIMER is a no-op option when building Linux X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16814^2~85^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4eaf491a1fbc0a20a0408d9f81b5e686e57cf642;p=xen.git CONFIG_X86_PM_TIMER is a no-op option when building Linux for Xen, but make sure it doesn't break the build. Signed-off-by: Keir Fraser --- diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c b/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c index 230673abb6..bce4ef7ed4 100644 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c @@ -610,7 +610,7 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size) acpi_fadt.force_apic_physical_destination_mode = fadt->force_apic_physical_destination_mode; #endif -#ifdef CONFIG_X86_PM_TIMER +#if defined(CONFIG_X86_PM_TIMER) && !defined(CONFIG_XEN) /* detect the location of the ACPI PM Timer */ if (fadt->revision >= FADT2_REVISION_ID) { /* FADT rev. 2 */ diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile index 51be8f355f..d08ec82b83 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile @@ -40,7 +40,7 @@ obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o i386-obj-$(CONFIG_DUMMY_IOMMU) += pci-dma.o i386-obj-$(CONFIG_SWIOTLB) += swiotlb.o obj-$(CONFIG_KPROBES) += kprobes.o -obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o +#obj-$(CONFIG_X86_PM_TIMER) += pmtimer.o c-obj-$(CONFIG_MODULES) += module.o