[swsusp] Remove two panic()s.
- Make software_suspend() return an int, so caller can tell what happened. - Do check for HIGHMEM and DISCONTIGMEM early in software_suspend() and fail gracefully, instead of checking far down the call chain and having to call panic().
Showing
Please register or sign in to comment