From: Thomas Weißschuh Date: Mon, 13 Oct 2025 09:12:02 +0000 (+0200) Subject: compiler.h: remove ARCH_SEL() X-Git-Tag: v6.19-rc1~70^2~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d6f1cc2dc214c1491181be13f37d2a3a26f694;p=thirdparty%2Fkernel%2Flinux.git compiler.h: remove ARCH_SEL() Its last user was removed in commit 8ea815399c3f ("compiler: remove __ADDRESSABLE_ASM{_STR,}() again"). Link: https://lkml.kernel.org/r/20251013-arch-sel-v1-1-7eef9b22ceb0@linutronix.de Signed-off-by: Thomas Weißschuh Cc: Luc Van Oostenryck Signed-off-by: Andrew Morton --- diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 5b45ea7dff3e5..a9a2f8aae8213 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -269,12 +269,6 @@ static inline void *offset_to_ptr(const int *off) #endif /* __ASSEMBLY__ */ -#ifdef CONFIG_64BIT -#define ARCH_SEL(a,b) a -#else -#define ARCH_SEL(a,b) b -#endif - /* * Force the compiler to emit 'sym' as a symbol, so that we can reference * it from inline assembler. Necessary in case 'sym' could be inlined