linux/arch/powerpc
Johannes Berg 0fba3a1f39 [PATCH] PowerMac: force only suspend-to-disk to be valid
For a very long time, echoing 'standby' or 'mem' into /sys/power/state has
killed the machine on powerpc.  This patch fixes that.

This patch adds the .valid callback to pm_ops on PowerMac so that only the
suspend to disk state can be entered.  Note that just returning 0 would
suffice since the upper layers don't pass PM_SUSPEND_DISK down, but we
handle it there regardless just in case that changes.

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-26 11:55:46 -07:00
..
boot
configs [PATCH] powerpc: update cell_defconfig 2006-04-29 15:11:30 +10:00
kernel [PATCH] powerpc: wire up sys_[gs]et_robust_list 2006-05-23 10:35:32 -07:00
lib
math-emu
mm [PATCH] powerpc: Allow devices to register with numa topology 2006-05-01 18:17:46 -07:00
oprofile
platforms [PATCH] PowerMac: force only suspend-to-disk to be valid 2006-05-26 11:55:46 -07:00
sysdev [PATCH] powerpc: Lower threshold for DART enablement to 1GB 2006-04-21 22:29:37 +10:00
xmon
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-04-18 10:34:24 -07:00
Kconfig.debug
Makefile [PATCH] powerpc32: Set cpu explicitly in kernel compiles 2006-04-13 09:38:33 -07:00