Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [PATCH 7 updated] PM: Add a switch for disabling/enabling asynchronous suspend/resume | Date | Fri, 28 Aug 2009 21:42:05 +0200 |
| |
On Friday 28 August 2009, Dmitry Torokhov wrote: > On Fri, Aug 28, 2009 at 12:22:40AM +0200, Rafael J. Wysocki wrote: > > +/* kernel/power/main.c */ > > +extern int pm_async_enabled; > > > > Sorry, forgot about this in the first mail - why don't we make it a > bool?
I didn't do that because of the
sprintf(buf, "%d\n", pm_async_enabled)
in pm_async_show(), where it clearly is treated as an int.
Thanks, Rafael
| |