[PATCH 1/3] ARM: assembler: generalize byte swapping macro into rev_32
Linus Walleij
linus.walleij at linaro.org
Fri Dec 11 17:53:22 EST 2020
On Wed, Dec 9, 2020 at 11:38 AM Ard Biesheuvel <ardb at kernel.org> wrote:
> Take the 4 instruction byte swapping sequence from the decompressor's
> head.S, and turn it into a rev_32 GAS macro for general use. While
> at it, make it use the 'rev' instruction when compiling for v6 or
> later.
>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
Looks correct to me!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list