arm: armv8: Fix warning about redeclaring global functions as weak
authorTom Rini <trini@konsulko.com>
Tue, 29 Jun 2021 23:33:04 +0000 (19:33 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 9 Jul 2021 16:15:41 +0000 (12:15 -0400)
commitf7b845bfe0621d04f5f32caa14a5aaca799c904e
tree7f0b710993a08575e4b3c51dbe92b2e8d1ec2e90
parent2359fa7a87848626bcbd3399e92c657595880cd7
arm: armv8: Fix warning about redeclaring global functions as weak

As seen with clang-12:
warning: __asm_invalidate_l3_dcache changed binding to STB_WEAK

As we indeed use ENTRY and then declare the function weak manually.  Use
the WEAK declarative from <linux/linkage.h> instead.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv8/cache.S