lkml.org 
[lkml]   [2003]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [linux-2.4.0-test5] swsusp w/o swap fail...
From
On Sat Sep 13 2003 - 02:24:36 EST, Andi Kleen wrote:
> On Fri, Sep 12, 2003 at 10:49:29PM -0500, Milton Miller wrote:
> > ... 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?
>
> That won't work. suspend won't compile without suspend_asm
>

Care to expand? suspend_asm.S calls into suspend.c, but I don't
see the converse. I checked i386 and it compiles, and don't see
how x86_64 will break.

===== 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.082 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site