summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2002-05-21 03:20:42 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-21 03:20:42 -0700
commit8e93dcc872459a0601273631848ccc3f319af02f (patch)
tree03cece571d27a80f4ee0b7ad1be71d834b8742b6 /include/linux
parentf7fd88b4ac2c0c0a4ab3e745dbdc472ec8a0d2d3 (diff)
[PATCH] more suspend-to-{RAM,disk} fixes
One more build fix, this time for !CONFIG_SOFTWARE_SUSPEND but CONFIG_ACPI: I've choosen this solution for now, as it is safest for ACPI people. I'll modify suspend.c so that freezing part can be included without whole suspend-to-disk support being included.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/suspend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h
index 6de78341c4fc..3ede8ad27270 100644
--- a/include/linux/suspend.h
+++ b/include/linux/suspend.h
@@ -60,6 +60,8 @@ extern void refrigerator(unsigned long);
#define register_suspend_notifier(a) do { } while(0)
#define unregister_suspend_notifier(a) do { } while(0)
#define refrigerator(a) do { BUG(); } while(0)
+#define freeze_processes() do { panic("You need CONFIG_SOFTWARE_SUSPEND to do sleeps."); } while(0)
+#define thaw_processes() do { } while(0)
#endif
#endif /* _LINUX_SWSUSP_H */