• Arnd Bergmann's avatar
    ARM: zx: fix building with CONFIG_THUMB2_KERNEL · 993198a6
    Arnd Bergmann authored
    The newly added zx platform causes a build error when
    CONFIG_THUMB2_KERNEL is enabled:
    
    arch/arm/mach-zx/headsmp.S:16: Error: invalid immediate for address calculation (value = 0x00000004)
    
    I'm assuming that the ROM code that is calling these entry
    points runs in ARM mode, so there would be another problem
    in the same file, and we can solve both problems at once
    by adding a '.arm' statement that will make zx_resume_jump
    and zx_secondary_startup both be built as ARM code.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarJun Nie <jun.nie@linaro.org>
    Tested-by: default avatarJun Nie <jun.nie@linaro.org>
    993198a6
headsmp.S 706 Bytes