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

Pierre Ossman
2005-07-02T17:40:12Z

[-- Attachment #1: Type: text/plain, Size: 444 bytes --]

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

[-- Attachment #2: i8237-x86_64.patch --]
[-- Type: text/x-patch, Size: 637 bytes --]

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