]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: drop unnecessary adrl
authorStefan Agner <stefan@agner.ch>
Wed, 29 Jun 2022 18:02:24 +0000 (11:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Jul 2022 14:28:52 +0000 (16:28 +0200)
commitd55b92a94ada724d7db96c348ee0377221f8cfae
tree8699cef0ab499af8d0ec0cbdf285465fb12bd83a
parent71395c77d3afd53f816eb86993d46c41478eb928
ARM: OMAP2+: drop unnecessary adrl

commit 3873ecbd2df7b662203e80e2995a0cd9010e3e55 upstream

The adrl instruction has been introduced with commit 6f8d0ad90fd1 ("ARM:
omap3: Thumb-2 compatibility for sleep34xx.S"), back when this assembly
file was considerably longer. Today adr seems to have enough reach, even
when inserting about 60 instructions between the use site and the label.
Replace adrl with conventional adr instruction.

This allows to build this file using Clang's integrated assembler (which
does not support the adrl pseudo instruction).

Link: https://github.com/ClangBuiltLinux/linux/issues/430
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/sleep34xx.S