[PATCH 1/3] ARM: assembler: generalize byte swapping macro into rev_32
Geert Uytterhoeven
geert at linux-m68k.org
Wed Dec 9 06:05:56 EST 2020
Hi Ard,
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>
Thanks for your patch!
Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>
Works fine on v7, so:
Tested-by: Geert Uytterhoeven <geert+renesas at glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list