login
Header Space

 
 

[PATCH 0/3] PM wakeup flags revisited

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>, Andrew Morton <akpm@...>, Rafael J. Wysocki <rjw@...>
Cc: Kamalesh Babulal <kamalesh@...>, <linux-next@...>, <sfr@...>, Kernel development list <linux-kernel@...>, <apw@...>, Len Brown <lenb@...>, Linux-pm mailing list <linux-pm@...>
Date: Saturday, March 15, 2008 - 5:53 pm

On Fri, 14 Mar 2008, Rafael J. Wysocki wrote:



It seems to have been a one-time occurrence.  This patch series fixes 
it.


This series converts the macros to inline functions.


Rest assurred that checkpath is now an integral part of my normal 
workflow.  All the patches in this series pass with flying colors.


Done.

The 1/3 patch fixes the unfortunate code in the serial-core driver.

The 2/3 patch moves the macros out from under CONFIG_PM_SLEEP.

The 3/3 patch converts the macros to inline functions and creates a new
pm_wakeup.h file for them.  They can't remain in pm.h, because they
depend on the definition of struct device -- and the compiler hasn't
seen that yet when pm.h is read.

It's not clear why the can_wakeup accessors are written to work even
when CONFIG_PM isn't set.  Nevertheless, the patches retain that
behavior.

Alan Stern

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next20080314 build fails with !CONFIG_PM , Kamalesh Babulal, (Fri Mar 14, 3:57 am)
Re: linux-next20080314 build fails with !CONFIG_PM, Andrew Morton, (Fri Mar 14, 6:05 pm)
Re: linux-next20080314 build fails with !CONFIG_PM, Rafael J. Wysocki, (Fri Mar 14, 6:37 pm)
[PATCH 0/3] PM wakeup flags revisited, Alan Stern, (Sat Mar 15, 5:53 pm)
speck-geostationary