]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PM: Convert PM notifiers to out-of-line code
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 19 Nov 2007 22:49:18 +0000 (23:49 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:54 +0000 (18:30 -0500)
commit825257569350e913bee3bc918508c0aa6e3398cd
tree2d016a04dfc09938565d5e932f0d2d5e43fb6bdd
parent90dda1cb6ace6abd777f84bf051c4f86fa58986a
PM: Convert PM notifiers to out-of-line code

This patch (as1008b) converts the PM notifier routines from inline
calls to out-of-line code.  It also prevents pm_chain_head from
being created when CONFIG_PM_SLEEP isn't enabled, and EXPORTs the
notifier registration and unregistration routines.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
include/linux/suspend.h
kernel/power/main.c
kernel/power/power.h