ARM: OMAP2+: raw read and write endian fix
[deliverable/linux.git] / arch / arm / mach-omap2 / omap-hotplug.c
index 458f72f9dc8ff370de5eac5e83f1a3d379c69db3..971791fe9a3f2f684c81ca4ccdecde5e6eec93ed 100644 (file)
@@ -39,7 +39,7 @@ void __ref omap4_cpu_die(unsigned int cpu)
                if (omap_modify_auxcoreboot0(0x0, 0x200) != 0x0)
                        pr_err("Secure clear status failed\n");
        } else {
-               __raw_writel(0, base + OMAP_AUX_CORE_BOOT_0);
+               writel_relaxed(0, base + OMAP_AUX_CORE_BOOT_0);
        }
 
 
@@ -53,7 +53,7 @@ void __ref omap4_cpu_die(unsigned int cpu)
                        boot_cpu = omap_read_auxcoreboot0();
                else
                        boot_cpu =
-                               __raw_readl(base + OMAP_AUX_CORE_BOOT_0) >> 5;
+                               readl_relaxed(base + OMAP_AUX_CORE_BOOT_0) >> 5;
 
                if (boot_cpu == smp_processor_id()) {
                        /*
This page took 0.025358 seconds and 5 git commands to generate.