-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> software_suspend() can fail for quite a lot of reasons (for example not enough swapspace). However current interface returned void, so you could not propagate error back to userland. This fixes it. Plus __read_suspend_image() is only done during init time, so we might as well mark it __init.
0c2d1195