tmp_suning_uos_patched/arch
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
..
alpha
arm [ARM] 3530/1: PXA Mainstone: prevent double enable_irq() in pcmcia 2006-05-17 20:14:29 +01:00
arm26
cris
frv
h8300
i386 [PATCH] x86: wire up vmsplice syscall 2006-05-26 11:55:46 -07:00
ia64 [IA64] one-line cleanup on set_irq_affinity_info 2006-05-17 06:20:59 -07:00
m32r
m68k
m68knommu
mips
parisc
powerpc [PATCH] PowerMac: force only suspend-to-disk to be valid 2006-05-26 11:55:46 -07:00
ppc
s390 [PATCH] s390: fix typo in stop_hz_timer. 2006-05-25 12:09:55 -07:00
sh
sh64
sparc [SPARC]: Add robust futex syscall entries. 2006-05-21 21:22:53 -07:00
sparc64 [SPARC64]: Respect gfp_t argument to dma_alloc_coherent(). 2006-05-23 02:07:22 -07:00
um
v850
x86_64 [PATCH] kprobes: bad manipulation of 2 byte opcode on x86_64 2006-05-21 12:59:21 -07:00
xtensa