[PATCH v2 08/29] ARM: head: use PC-relative insn sequence for __smp_alt
Ard Biesheuvel
ard.biesheuvel at linaro.org
Mon Sep 4 09:20:21 PDT 2017
On 4 September 2017 at 17:19, Nicolas Pitre <nicolas.pitre at linaro.org> wrote:
> On Sun, 3 Sep 2017, Ard Biesheuvel wrote:
>
>> Replace the open coded PC relative offset calculations with a pair
>> of adr_l invocations. This ensures these quantities are invariant
>> under runtime relocation.
>
> You probably should add that this patch must be applied on top of "ARM:
> kernel: use relative references for UP/SMP alternatives" because of the
> expected r3 value prior to that patch.
>
> Acked-by: Nicolas Pitre <nico at linaro.org>
>
Yes, that is why I needed to reorder them. I will add a mention to the
commit log.
Thanks,
More information about the linux-arm-kernel
mailing list