* [PATCH] compiler: remove ARCH_SEL()
@ 2025-10-13 9:12 Thomas Weißschuh
0 siblings, 0 replies; only message in thread
From: Thomas Weißschuh @ 2025-10-13 9:12 UTC (permalink / raw)
To: Luc Van Oostenryck, Andrew Morton
Cc: linux-sparse, linux-kernel, Thomas Weißschuh
It's last user was removed in commit 8ea815399c3f ("compiler: remove
__ADDRESSABLE_ASM{_STR,}() again").
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
include/linux/compiler.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 5b45ea7dff3e50160afc37d22f61b9d2146e15d4..a9a2f8aae821311da253bf065c49b7c69aa3af17 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
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251009-arch-sel-b81cff97505e
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@linutronix.de>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-10-13 9:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 9:12 [PATCH] compiler: remove ARCH_SEL() Thomas Weißschuh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).