kernel-fxtec-pro1x/arch/powerpc/platforms
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
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx powerpc: converted embedded platforms to use new define_machine support 2006-03-30 23:39:57 -06:00
85xx powerpc: converted embedded platforms to use new define_machine support 2006-03-30 23:39:57 -06:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] powerpc: wire up sys_[gs]et_robust_list 2006-05-23 10:35:32 -07:00
chrp powerpc: Fix CHRP booting - needs a define_machine call 2006-04-05 16:01:45 +10:00
embedded6xx [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
iseries powerpc: iSeries has only 256 IRQs 2006-04-04 14:49:48 +10:00
maple Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
powermac [PATCH] PowerMac: force only suspend-to-disk to be valid 2006-05-26 11:55:46 -07:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [PATCH] powerpc: fix kernel version display on pseries boxes 2006-05-16 21:30:57 +10:00
Makefile [PATCH] powerpc: Updated Initial MPC8540 ADS port with OF Flat Dev 2006-01-20 16:11:06 +11:00