Linux kbuild/kconfig development
 help / color / mirror / Atom feed
* [PATCH 1/2] init: remove unused __MEMINIT* macros
@ 2024-07-06 16:05 Masahiro Yamada
  2024-07-06 16:05 ` [PATCH 2/2] init/modpost: conditionally check section mismatch to __meminit* Masahiro Yamada
  2024-07-06 23:58 ` [PATCH 1/2] init: remove unused __MEMINIT* macros Wei Yang
  0 siblings, 2 replies; 6+ messages in thread
From: Masahiro Yamada @ 2024-07-06 16:05 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Wei Yang, Andrew Morton, Masahiro Yamada

These macros are not used anywhere.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 include/linux/init.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/linux/init.h b/include/linux/init.h
index 58cef4c2e59a..b2e9dfff8691 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -99,10 +99,6 @@
 #define __INITRODATA	.section	".init.rodata","a",%progbits
 #define __FINITDATA	.previous
 
-#define __MEMINIT        .section	".meminit.text", "ax"
-#define __MEMINITDATA    .section	".meminit.data", "aw"
-#define __MEMINITRODATA  .section	".meminit.rodata", "a"
-
 /* silence warnings when references are OK */
 #define __REF            .section       ".ref.text", "ax"
 #define __REFDATA        .section       ".ref.data", "aw"
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-07  5:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-06 16:05 [PATCH 1/2] init: remove unused __MEMINIT* macros Masahiro Yamada
2024-07-06 16:05 ` [PATCH 2/2] init/modpost: conditionally check section mismatch to __meminit* Masahiro Yamada
2024-07-06 18:07   ` Masahiro Yamada
2024-07-07  0:01   ` Wei Yang
2024-07-07  5:58     ` Masahiro Yamada
2024-07-06 23:58 ` [PATCH 1/2] init: remove unused __MEMINIT* macros Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox