[PATCH] ARM: asm: Rewrite get_thread_info using BIC

Linus Walleij linus.walleij at linaro.org
Tue Jul 21 09:54:25 EDT 2020


On Tue, Jul 21, 2020 at 3:37 PM Dmitry Osipenko <digetx at gmail.com> wrote:

> This patch was merged into a recent linux-next, unfortunately it breaks
> CONFIG_THUMB2_KERNEL=y compilation:
>
> arch/arm/kernel/entry-common.S: Assembler messages:
> arch/arm/kernel/entry-common.S:159: Error: r13 not allowed here -- `bic
> tsk,sp,#(((1<<12)<<1)-1)&~63'
> arch/arm/kernel/entry-common.S:246: Error: r13 not allowed here -- `bic
> tsk,sp,#(((1<<12)<<1)-1)&~63'
> make[2]: *** [scripts/Makefile.build:361:
> arch/arm/kernel/entry-common.o] Error 1

Ah how typical. I suppose we simply need to give up on this
idea to simplify using BIC. It was worth a try.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list