Messages in this thread | | | Date | Tue, 4 Mar 2003 02:35:30 +0100 (MET) | From | Mikael Pettersson <> | Subject | Re: Switch APIC to driver model |
| |
On Mon, 3 Mar 2003 23:48:01 +0100, Pavel Machek wrote: >This switches to driver model, making suspend-to-ram possible. Please >apply, > Pavel > >--- clean/arch/i386/kernel/apic.c 2003-02-28 15:10:01.000000000 +0100 >+++ linux/arch/i386/kernel/apic.c 2003-02-28 15:33:45.000000000 +0100
This version works a lot better than the previous one(s). My P4, which suspends/resumes via apm just fine with UP_APIC, survived two suspend/resume cycles with this patch: one synchronous (apm --suspend), and one asynchronous (short press on power button). Not having IDE oops in a BUG_ON() is a definite improvement.
I had to add an #include <linux/device.h> to apm.c, a patch hunk failed in oprofile, and there are some cosmetic things I don't like. I'll merge this with my previous version tomorrow.
/Mikael - 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/
| |