]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390: Implement ARCH_HAS_CC_CAN_LINK
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 22 Dec 2025 08:28:17 +0000 (09:28 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 23 Dec 2025 10:46:35 +0000 (11:46 +0100)
commiteb2606bba1cbac610701d73af25cbff0f3c5b09b
tree1ff10e139a9687a7b8d3c6b859d5d052518a69de
parent71f9bc6f7c25294d79132345f94561469a03c245
s390: Implement ARCH_HAS_CC_CAN_LINK

The generic CC_CAN_LINK detection relies on -m32/-m64 compiler flags.
Some s390 toolchains use -m31 instead but that is not supported in the
kernel.

Make the logic easier to understand and allow the simplification of the
generic CC_CAN_LINK by using a tailored implementation.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/Kconfig