[linux-pm] [RFC PATCH v3] ARM hibernation/suspend-to-disk support
From: Pavel Machek <hidden>
Date: 2011-06-02 22:18:37
From: Pavel Machek <hidden>
Date: 2011-06-02 22:18:37
Hi!
Please let me know what you think, Thanks in advance,
+void save_processor_state(void)
+{
+ flush_thread();
+ local_fiq_disable();
+#ifdef CONFIG_ARM_MACH_HIBERNATION_HOOK
+ mach_save_state();
+#endif
+}Could we always define mach_save_state, and get rid of ifdef? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html