ARM: 9439/1: arm32: simplify ARM_MMU_KEEP usage
authorRolf Eike Beer <eb@emlix.com>
Tue, 14 Jan 2025 13:45:38 +0000 (14:45 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 26 Mar 2025 13:31:13 +0000 (13:31 +0000)
commitf9733aa925d99268e3c1f284d3e62e6a643dcc1d
treecfd6da4b220817eeec455aa4984ff2eebf56c8a5
parent2014c95afecee3e76ca4a56956a936e23283f05b
ARM: 9439/1: arm32: simplify ARM_MMU_KEEP usage

All current users need to add a KEEP() around the argument so the value is
actually kept, which doesn't feel very natural and is prone to upcoming bugs as
the name suggests that this macro alone already keeps things. Move that directly
into the definition.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/vmlinux.lds.h
arch/arm/kernel/vmlinux-xip.lds.S
arch/arm/kernel/vmlinux.lds.S