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.
#include <linux/sysrq.h>
#include <linux/pm.h>
#include <linux/device.h>
+#include <linux/suspend.h>
#include <asm/uaccess.h>
#include <asm/acpi.h>
#include "acpi_bus.h"
#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 */