Re: Switch APIC to driver model (and make S3 sleep with APIC on)

John Levon (levon@movementarian.org)
Fri, 7 Feb 2003 11:18:36 +0000


On Wed, Feb 05, 2003 at 10:39:19PM +0100, Pavel Machek wrote:

> I can see set_nmi_pm_callback() in nmi_setup(), but can not see where
> nmi.c's pm_callback is restored in nmi_shutdown().

It's the very first line :

149 unset_nmi_pm_callback(oprofile_pmdev);

The unset will also restore the nmi_pmdev back.

regards
john
-
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/