From: Scott Wood Date: Mon, 28 Apr 2008 15:38:13 +0000 (+1000) Subject: [POWERPC] Add 6xx-style HID0_SLEEP support. X-Git-Tag: v2.6.27-rc1~1058^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2cca804ee40495bc92449c3e22f3c3a3f2977a;p=pandora-kernel.git [POWERPC] Add 6xx-style HID0_SLEEP support. This adds a function to put a 6xx/7xx/7xxx/83xx family CPU into sleep mode, and return after an interrupt has occurred. It expects to be called with interrupts disabled, and returns with interrupts disabled. Interrupts are enabled while the processor is asleep, but the interrupt that wakes the processor is not handled; it is still pending when this function returns. Signed-off-by: Scott Wood Signed-off-by: Guennadi Liakhovetski Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed