ARM: 6999/1: head, zImage: Always Enter the kernel in ARM state
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / compressed / head.S
index f9da41921c521e216f07816eb5cab99c041f4845..51af7091d84d7942d24bc22129fbf04769cebc2f 100644 (file)
@@ -353,7 +353,8 @@ not_relocated:      mov     r0, #0
                mov     r0, #0                  @ must be zero
                mov     r1, r7                  @ restore architecture number
                mov     r2, r8                  @ restore atags pointer
-               mov     pc, r4                  @ call kernel
+ ARM(          mov     pc, r4  )               @ call kernel
+ THUMB(                bx      r4      )               @ entry point is always ARM
 
                .align  2
                .type   LC0, #object