[PATCH] swsusp: do not trigger BUG_ON() if there is not enough memory
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 23 Sep 2005 04:44:01 +0000 (21:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Sep 2005 05:17:35 +0000 (22:17 -0700)
commit57487f4376e16558ccbe45a5b41d8cb5192309a4
tree0f2712787db8a8eb7021ccac41deef40d6890f41
parent4c87b74c72d42f7272aa4bf8f17c73bb53774eee
[PATCH] swsusp: do not trigger BUG_ON() if there is not enough memory

The following patch makes swsusp avoid triggering the BUG_ON() in
swsusp_suspend() if there is not enough memory for suspend.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swsusp.c