]> err.no Git - linux-2.6/commit
PM: device_suspend/resume may sleep
authorPavel Machek <pavel@suse.cz>
Fri, 1 Sep 2006 05:02:11 +0000 (22:02 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 04:08:38 +0000 (21:08 -0700)
commitbb84c89f94851161f387285d0a449b4a3f29f4df
tree6cda3e7cbfc57956f732de8f9c619625bcbba8ea
parent84ed64ee8f7dfd89f59857124dbeb8a350c6e03d
PM: device_suspend/resume may sleep

This adds warning when someone tries them from atomic context.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/resume.c
drivers/base/power/suspend.c