.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SOFTWARE_RESUME" "" "06 October 2005" "" ""
.SH NAME
software_resume \- Resume from a saved image.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __init software_resume ( \fIvoid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvoid\fB\fR
no arguments
.SH "DESCRIPTION"
.PP
.PP
Called as a late_initcall (so all devices are discovered and
initialized), we call swsusp to see if we have a saved image or not.
If so, we quiesce devices, then restore the saved image. We will
return above (in \fBpm_suspend_disk\fR ) if everything goes well.
Otherwise, we fail gracefully and return to the normally
scheduled program.