Re: [PATCH 2/2] ISA DMA suspend for x86_64

From: Pierre Ossman
Date: Sat Jul 02 2005 - 12:42:59 EST


Andi Kleen wrote:

>
>This is identical to the i386 version isn't it?
>Please just reuse the i386 version then in the Makefile.
>
>

Ok. Done and attached.

>And the whole thing should be probably dependent on CONFIG_SOFTWARE_SUSPEND
>
>
>

I used i8259.c as an example and it includes its suspend routines in all
cases. Also, the problem this patch solves is for suspend-to-ram, not
suspend-to-disk (i.e. software suspend).

Rgds
Pierre

Index: linux-wbsd/arch/x86_64/kernel/Makefile
===================================================================
--- linux-wbsd/arch/x86_64/kernel/Makefile (revision 153)
+++ linux-wbsd/arch/x86_64/kernel/Makefile (working copy)
@@ -7,7 +7,8 @@
obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o \
ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_x86_64.o \
x8664_ksyms.o i387.o syscall.o vsyscall.o \
- setup64.o bootflag.o e820.o reboot.o quirks.o
+ setup64.o bootflag.o e820.o reboot.o quirks.o \
+ ../../i386/kernel/i8237.o

obj-$(CONFIG_X86_MCE) += mce.o
obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o