[PATCH] x86: adjust make conditions CONFIG_PM -> CONFIG_PM_SLEEP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The two files in question are unused without CONFIG_PM_SLEEP.

Signed-off-by: Jan Beulich <[email protected]>

 arch/x86/kernel/Makefile_64 |    2 +-
 arch/x86/power/Makefile     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.24-rc5/arch/x86/kernel/Makefile_64	2007-12-12 11:28:17.000000000 +0100
+++ 2.6.24-rc5-x86-pm-sleep/arch/x86/kernel/Makefile_64	2007-12-04 16:09:33.000000000 +0100
@@ -24,7 +24,7 @@ obj-y				+= apic_64.o  nmi_64.o
 obj-y				+= io_apic_64.o mpparse_64.o genapic_64.o genapic_flat_64.o
 obj-$(CONFIG_KEXEC)		+= machine_kexec_64.o relocate_kernel_64.o crash.o
 obj-$(CONFIG_CRASH_DUMP)	+= crash_dump_64.o
-obj-$(CONFIG_PM)		+= suspend_64.o
+obj-$(CONFIG_PM_SLEEP)		+= suspend_64.o
 obj-$(CONFIG_HIBERNATION)	+= suspend_asm_64.o
 obj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
 obj-$(CONFIG_GART_IOMMU)	+= pci-gart_64.o aperture_64.o
--- linux-2.6.24-rc5/arch/x86/power/Makefile	2007-12-12 11:28:18.000000000 +0100
+++ 2.6.24-rc5-x86-pm-sleep/arch/x86/power/Makefile	2007-12-04 16:09:33.000000000 +0100
@@ -1,2 +1,2 @@
-obj-$(CONFIG_PM)		+= cpu.o
+obj-$(CONFIG_PM_SLEEP)		+= cpu.o
 obj-$(CONFIG_HIBERNATION)	+= swsusp.o suspend.o



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux