Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / headsmp-scu.S
index bfd920083a3b294db1808d1cf9a145d2d6afa59e..f45dde701d7b598c0bc7f2544ea438b0ea19327e 100644 (file)
@@ -37,13 +37,15 @@ ENTRY(shmobile_boot_scu)
        lsl     r1, r1, #3              @ we will shift by cpu_id * 8 bits
        ldr     r2, [r0, #8]            @ SCU Power Status Register
        mov     r3, #3
-       bic     r2, r2, r3, lsl r1      @ Clear bits of our CPU (Run Mode)
+       lsl     r3, r3, r1
+       bic     r2, r2, r3              @ Clear bits of our CPU (Run Mode)
        str     r2, [r0, #8]            @ write back
 
        b       shmobile_invalidate_start
 ENDPROC(shmobile_boot_scu)
 
        .text
+       .align  2
        .globl  shmobile_scu_base
 shmobile_scu_base:
        .space  4