]> git.hungrycats.org Git - linux/commit
[swsusp] Remove two panic()s.
authorPatrick Mochel <mochel@osdl.org>
Wed, 13 Aug 2003 03:55:13 +0000 (20:55 -0700)
committerPatrick Mochel <mochel@osdl.org>
Wed, 13 Aug 2003 03:55:13 +0000 (20:55 -0700)
commit05f11b379c8af946cfc48b8f4823e285fb926df7
tree4cd49bb7746974b48eb79aceb75bf3fb315bd50e
parent5e29fc2e90e6389f9cc3f8f8df6c54cb09eb5d47
[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().
include/linux/suspend.h
kernel/power/swsusp.c