.\" 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 "SUSPEND_SAVE_IMAGE" "" "06 October 2005" "" ""
.SH NAME
suspend_save_image \- Prepare and write saved image to swap.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int suspend_save_image ( \fIvoid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvoid\fB\fR
no arguments
.SH "DESCRIPTION"
.PP
.PP
IRQs are re-enabled here so we can resume devices and safely write
to the swap devices. We disable them again before we leave.
.PP
The second \fBlock_swapdevices\fR will unlock ignored swap devices since
writing is finished.
It is important _NOT_ to umount filesystems at this point. We want
them synced (in case something goes wrong) but we DO not want to mark
.SH "FILESYSTEM CLEAN"
.PP
it is not. (And it does not matter, if we resume
correctly, we'll mark system clean, anyway.)