ARM: mach-w90x900: properly disable CPU idle call
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 3 Aug 2011 16:21:16 +0000 (12:21 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Fri, 20 Jan 2012 23:55:17 +0000 (18:55 -0500)
Signed-off-by: nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-w90x900/dev.c
arch/arm/mach-w90x900/include/mach/system.h

index 78110befb7a9132d6da3353fdec6721b421894ed..db82568a998a15b39db31a8813d92d7cad730ddd 100644 (file)
@@ -530,6 +530,7 @@ static struct platform_device *nuc900_public_dev[] __initdata = {
 
 void __init nuc900_board_init(struct platform_device **device, int size)
 {
+       disable_hlt();
        platform_add_devices(device, size);
        platform_add_devices(nuc900_public_dev, ARRAY_SIZE(nuc900_public_dev));
        spi_register_board_info(nuc900_spi_board_info,
index 2aaeb93116193fca2e6a6e9f5138bf1af24d0943..f713161ee50c20240a3e0f7b7f2bed245b0bb1b4 100644 (file)
@@ -16,4 +16,5 @@
  */
 static void arch_idle(void)
 {
+       cpu_do_idle();
 }