[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240706160511.2331061-1-masahiroy@kernel.org>
Date: Sun, 7 Jul 2024 01:05:05 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Wei Yang <richard.weiyang@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Masahiro Yamada <masahiroy@...nel.org>
Subject: [PATCH 1/2] init: remove unused __MEMINIT* macros
These macros are not used anywhere.
Signed-off-by: Masahiro Yamada <masahiroy@...nel.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
Powered by blists - more mailing lists