[lkml]   [2003]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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
> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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