KVM: PPC: Book3S HV: Fix endianness of instruction obtained from HEIR register
[cascardo/linux.git] / arch / arm / mach-exynos / platsmp.c
index a9f1cf7..41ae28d 100644 (file)
@@ -224,7 +224,7 @@ static int exynos_boot_secondary(unsigned int cpu, struct task_struct *idle)
                                ret = PTR_ERR(boot_reg);
                                goto fail;
                        }
-                       __raw_writel(boot_addr, cpu_boot_reg(core_id));
+                       __raw_writel(boot_addr, boot_reg);
                }
 
                call_firmware_op(cpu_boot, core_id);
@@ -313,7 +313,7 @@ static void __init exynos_smp_prepare_cpus(unsigned int max_cpus)
 
                        if (IS_ERR(boot_reg))
                                break;
-                       __raw_writel(boot_addr, cpu_boot_reg(core_id));
+                       __raw_writel(boot_addr, boot_reg);
                }
        }
 }