Re: [linux-2.4.0-test5] swsusp w/o swap fail...

From: Milton Miller
Date: Fri Sep 12 2003 - 22:50:43 EST


To fix bugzilla 1131, Andi added select SOFTWARE_SUSPEND when ACPI_SLEEP
is selected. However, as discussed elsewhere [1], select superceedes
depends. Rather than say ACPI_SLEEP also enables SWAP, how about having
X86_64 pick up a change made to x86, and compile suspend.c on CONFIG_PM.

Andi, can you test this?


milton


[1] Re: [patch] 2.6.0-test5: serio config broken?
http://www.ussg.iu.edu/hypermail/linux/kernel/0309.1/1572.html


===== drivers/acpi/Kconfig 1.20 vs edited =====
--- 1.20/drivers/acpi/Kconfig Sat Aug 23 06:07:34 2003
+++ edited/drivers/acpi/Kconfig Fri Sep 12 22:28:08 2003
@@ -69,7 +69,6 @@
bool "Sleep States (EXPERIMENTAL)"
depends on X86 && ACPI
depends on EXPERIMENTAL && PM
- select SOFTWARE_SUSPEND
default y
---help---
This option adds support for ACPI suspend states.
===== arch/x86_64/kernel/Makefile 1.23 vs edited =====
--- 1.23/arch/x86_64/kernel/Makefile Mon Aug 18 13:16:59 2003
+++ edited/arch/x86_64/kernel/Makefile Fri Sep 12 22:28:56 2003
@@ -16,7 +16,8 @@
obj-$(CONFIG_SMP) += smp.o smpboot.o trampoline.o
obj-$(CONFIG_X86_LOCAL_APIC) += apic.o nmi.o
obj-$(CONFIG_X86_IO_APIC) += io_apic.o mpparse.o
-obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend.o suspend_asm.o
+obj-$(CONFIG_PM) += suspend.o
+obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_GART_IOMMU) += pci-gart.o aperture.o
obj-$(CONFIG_DUMMY_IOMMU) += pci-nommu.o pci-dma.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/