[PATCH v2 08/29] ARM: head: use PC-relative insn sequence for __smp_alt
From: Ard Biesheuvel <hidden>
Date: 2017-09-04 16:20:21
From: Ard Biesheuvel <hidden>
Date: 2017-09-04 16:20:21
On 4 September 2017 at 17:19, Nicolas Pitre [off-list ref] wrote:
On Sun, 3 Sep 2017, Ard Biesheuvel wrote:quoted
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 <redacted>
Yes, that is why I needed to reorder them. I will add a mention to the commit log. Thanks,