Play catchup with powerdown code & simplify.
commitf8ee3678fb5e452bf8401073fe0998563c501de8
authorNigel Cunningham <nigel@suspend2.net>
Thu, 17 May 2007 04:21:48 +0000 (17 14:21 +1000)
committerNigel Cunningham <nigel@suspend2.net>
Thu, 17 May 2007 04:26:31 +0000 (17 14:26 +1000)
treefe42be553b4f46825075cd95356e37b133630d79
parentb4bdd0d121d598dcd202690f163fa912d218a68d
Play catchup with powerdown code & simplify.

Simplify the powerdown code in preparation for the hibernation ops, added
with 2.6.22-rc1. Also play catchup, adding suspend_console and
resume_console calls that I didn't notice came in with 2.6.19. Finally,
reorder the pm_ops->prepare in line with the latest wisdom on the order in
which things should be done.

Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
kernel/power/power_off.c