diff --git a/arch/arm/mach-imx/busfreq_ddr3.c b/arch/arm/mach-imx/busfreq_ddr3.c index 6ac7d27fe86f87..c77b05d94607ec 100644 --- a/arch/arm/mach-imx/busfreq_ddr3.c +++ b/arch/arm/mach-imx/busfreq_ddr3.c @@ -343,7 +343,7 @@ int init_mmdc_ddr3_settings(struct platform_device *busfreq_pdev) irqs_used = devm_kzalloc(dev, sizeof(u32) * num_present_cpus(), GFP_KERNEL); - for_each_present_cpu(cpu) { + for_each_online_cpu(cpu) { int irq; /*