OSDN Git Service

crypto: powerpc - Use address generation helper for asm
authorNicholas Piggin <npiggin@gmail.com>
Fri, 3 Feb 2023 11:38:56 +0000 (21:38 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2023 11:17:36 +0000 (22:17 +1100)
commit26d53a9c89a8486c5c637cc587e1933a786747d0
tree4c28ea9c2a27808f58c86de9adaac2d383cf89c2
parente64e71056f323a1e178dccf04d4c0f032d84436c
crypto: powerpc - Use address generation helper for asm

Replace open-coded toc-relative address calculation with helper macros,
commit dab3b8f4fd09 ("powerpc/64: asm use consistent global variable
declaration and access") made similar conversions already but missed
this one.

This allows data addressing model to be changed more easily.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230203113858.1152093-2-npiggin@gmail.com
arch/powerpc/crypto/crc32-vpmsum_core.S