This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / suspend.h
index d0955f0..7e4409b 100644 (file)
@@ -67,16 +67,19 @@ extern int pm_prepare_console(void);
 extern void pm_restore_console(void);
 
 #else
-static inline void refrigerator(unsigned long flag) {}
-#endif /* CONFIG_PM */
+static inline void refrigerator(unsigned long flag)
+{
 
-#ifdef CONFIG_SMP
-extern void disable_nonboot_cpus(void);
-extern void enable_nonboot_cpus(void);
-#else
-static inline void disable_nonboot_cpus(void) {}
-static inline void enable_nonboot_cpus(void) {}
-#endif
+}
+static inline int freeze_processes(void)
+{
+       return 0;
+}
+static inline void thaw_processes(void)
+{
+
+}
+#endif /* CONFIG_PM */
 
 asmlinkage void do_magic(int is_resume);
 asmlinkage void do_magic_resume_1(void);
@@ -84,10 +87,4 @@ asmlinkage void do_magic_resume_2(void);
 asmlinkage void do_magic_suspend_1(void);
 asmlinkage void do_magic_suspend_2(void);
 
-void save_processor_state(void);
-void restore_processor_state(void);
-struct saved_context;
-void __save_processor_state(struct saved_context *ctxt);
-void __restore_processor_state(struct saved_context *ctxt);
-
 #endif /* _LINUX_SWSUSP_H */