summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-10-13 12:12:02 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-11-12 21:00:14 +0300
commit05d6f1cc2dc214c1491181be13f37d2a3a26f694 (patch)
treef2b9319c656a0f9691b9048c5f6576c6a02ae9b4 /include/linux
parent1b34743c31fef06d3728abf58126a7bcadb5ba1b (diff)
downloadlinux-05d6f1cc2dc214c1491181be13f37d2a3a26f694.tar.xz
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 <thomas.weissschuh@linutronix.de> Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/compiler.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 5b45ea7dff3e..a9a2f8aae821 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