projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbc8846
)
init: remove unused __MEMINIT* macros
author
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 6 Jul 2024 16:05:05 +0000
(
01:05
+0900)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 12 Jul 2024 23:39:52 +0000
(16:39 -0700)
These macros are not used anywhere.
Link:
https://lkml.kernel.org/r/20240706160511.2331061-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/init.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/init.h
b/include/linux/init.h
index 58cef4c2e59a625fdb59530ad46937ad2d968668..b2e9dfff86911a5409236661bfed443a1ee82b4b 100644
(file)
--- 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"