提交 a5ad6fba 编写于 作者: N Nicolas Pitre 提交者: Nicolas Pitre

ARM: mach-w90x900: properly disable CPU idle call

Signed-off-by: Nnicolas Pitre <nicolas.pitre@linaro.org>
上级 e5ddf4e3
...@@ -530,6 +530,7 @@ static struct platform_device *nuc900_public_dev[] __initdata = { ...@@ -530,6 +530,7 @@ static struct platform_device *nuc900_public_dev[] __initdata = {
void __init nuc900_board_init(struct platform_device **device, int size) void __init nuc900_board_init(struct platform_device **device, int size)
{ {
disable_hlt();
platform_add_devices(device, size); platform_add_devices(device, size);
platform_add_devices(nuc900_public_dev, ARRAY_SIZE(nuc900_public_dev)); platform_add_devices(nuc900_public_dev, ARRAY_SIZE(nuc900_public_dev));
spi_register_board_info(nuc900_spi_board_info, spi_register_board_info(nuc900_spi_board_info,
......
...@@ -16,4 +16,5 @@ ...@@ -16,4 +16,5 @@
*/ */
static void arch_idle(void) static void arch_idle(void)
{ {
cpu_do_idle();
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册