[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251013-arch-sel-v1-1-7eef9b22ceb0@linutronix.de>
Date: Mon, 13 Oct 2025 11:12:02 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Luc Van Oostenryck <luc.vanoostenryck@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-sparse@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH] compiler: remove ARCH_SEL()
It's last user was removed in commit 8ea815399c3f ("compiler: remove
__ADDRESSABLE_ASM{_STR,}() again").
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.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@...utronix.de>
Powered by blists - more mailing lists