powerpc/e500mc: Add support for the wait instruction in e500_idle
authorScott Wood <scottwood@freescale.com>
Wed, 22 Jun 2011 23:10:30 +0000 (18:10 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 27 Jun 2011 13:36:15 +0000 (08:36 -0500)
commitebf714ff37561331eb39963945d80bfc2a59e00f
tree4332a9b8ba4472a439db4d21ece64066d88358d1
parentf340fe69f5e87c9f630b077cf52142ec15964a41
powerpc/e500mc: Add support for the wait instruction in e500_idle

e500mc cannot doze or nap due to an erratum (as well as having a
different mechanism than previous e500), but it has a "wait" instruction
that is similar to doze.

On 64-bit, due to the soft-irq-disable mechanism, the existing
book3e_idle should be used instead.

Signed-off-by: Vakul Garg <vakul@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/idle_e500.S
arch/powerpc/platforms/85xx/p3041_ds.c
arch/powerpc/platforms/85xx/p4080_ds.c
arch/powerpc/platforms/85xx/p5020_ds.c