summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/common.c
diff options
context:
space:
mode:
authorNicolas Pitre2011-08-03 13:25:39 +0200
committerNicolas Pitre2012-01-21 00:55:16 +0100
commit12d2b4e5f0c65eaa1d61e4e1bbfb2df41bc6cd9d (patch)
tree1283d25048a770f01d29208f5a57c1da7b680d29 /arch/arm/mach-ixp4xx/common.c
parentARM: mach-ixp23xx: properly disable CPU idle call (diff)
downloadkernel-qcow2-linux-12d2b4e5f0c65eaa1d61e4e1bbfb2df41bc6cd9d.tar.gz
kernel-qcow2-linux-12d2b4e5f0c65eaa1d61e4e1bbfb2df41bc6cd9d.tar.xz
kernel-qcow2-linux-12d2b4e5f0c65eaa1d61e4e1bbfb2df41bc6cd9d.zip
ARM: mach-ixp4xx: properly disable CPU idle call
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-ixp4xx/common.c')
-rw-r--r--arch/arm/mach-ixp4xx/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c
index 3841ab4146ba..a6329a0a8ec4 100644
--- a/arch/arm/mach-ixp4xx/common.c
+++ b/arch/arm/mach-ixp4xx/common.c
@@ -236,6 +236,12 @@ void __init ixp4xx_init_irq(void)
{
int i = 0;
+ /*
+ * ixp4xx does not implement the XScale PWRMODE register
+ * so it must not call cpu_do_idle().
+ */
+ disable_hlt();
+
/* Route all sources to IRQ instead of FIQ */
*IXP4XX_ICLR = 0x0;