x86: adjust make conditions CONFIG_PM -> CONFIG_PM_SLEEP
Subsystems (2)
PATCH 1/1 x86: adjust make conditions CONFIG_PM -> CONFIG_PM_SLEEP
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(-)
arch/x86/kernel/Makefile_64 +1 -1
@@ -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
arch/x86/power/Makefile +1 -1
@@ -1,2 +1,2 @@ -obj-$(CONFIG_PM) += cpu.o +obj-$(CONFIG_PM_SLEEP) += cpu.o obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o