Re: [PATCH] Export pm_suspend

From: Todd Poynor
Date: Wed Jun 16 2004 - 14:38:17 EST


Greg KH wrote:
On Tue, Jun 15, 2004 at 06:13:11PM -0700, Todd Poynor wrote:

Allow modules to request system suspend via the in-kernel interface, if
desired.


And who would be so desiring? I don't see any in-kernel code that needs
this. Care to also submit the code that needs this?

Sorry, my botched phrasing was intended to read more like "if this would be viewed as a good thing". Since pm_suspend is the "externally visible function for suspending system" it seems it might be proper to export it for module use as well, much like various APM and software suspend functions in the same directory. We only have test code that uses this, so no big deal on our part; I'll send out a call to some designers who are building embedded gadgets using pm_suspend() to see if anybody has interest in this and code to go along with it. Thanks -- Todd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/