summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-08-29 23:23:34 -0700
committerPatrick Mochel <mochel@osdl.org>2003-08-29 23:23:34 -0700
commit36d1f8a3fb4e6a7b39727250515a5a6af23b1a54 (patch)
treea578123dd7cb24f3313bde31b3e3d9bec169958b /include
parent774bc11ff35f6008c6bbcc3371bcbfd55b7d406a (diff)
[swsusp] Restore software_suspend() call.
- Allows 'backdoor' interface to swsusp, as requested by Pavel. - Simply a wrapper to pm_suspend(), though guaranteeing that swsusp is used, and system is shutdown (and put into low-power state). - Call in sys_reboot() changed back to call to software_suspend().
Diffstat (limited to 'include')
-rw-r--r--include/linux/suspend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h
index 132db86c961a..ed8d796f1849 100644
--- a/include/linux/suspend.h
+++ b/include/linux/suspend.h
@@ -53,6 +53,7 @@ extern suspend_pagedir_t *pagedir_nosave __nosavedata;
extern void do_suspend_lowlevel(int resume);
extern void do_suspend_lowlevel_s4bios(int resume);
+extern int software_suspend(void);
#else /* CONFIG_SOFTWARE_SUSPEND */
static inline int software_suspend(void)
{