projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1dc1bf
)
modpost: remove MEM_INIT_SECTIONS macro
author
Masahiro Yamada
<masahiroy@kernel.org>
Sun, 22 Oct 2023 17:06:08 +0000
(
02:06
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 28 Oct 2023 12:31:22 +0000
(21:31 +0900)
ALL_XXXINIT_SECTIONS and MEM_INIT_SECTIONS are the same.
Remove the latter.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c
patch
|
blob
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index 4973b798a4697f000958e9a0d6e0efa0e4f5ce2a..54621a4bd421779a131acf56adbcab94427b174a 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-805,7
+805,7
@@
static void check_section(const char *modname, struct elf_info *elf,
".pci_fixup_enable", ".pci_fixup_resume", \
".pci_fixup_resume_early", ".pci_fixup_suspend"
-#define ALL_XXXINIT_SECTIONS
MEM_INIT_SECTIONS
+#define ALL_XXXINIT_SECTIONS
".meminit.*"
#define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS
#define ALL_EXIT_SECTIONS EXIT_SECTIONS
@@
-818,7
+818,6
@@
static void check_section(const char *modname, struct elf_info *elf,
".coldtext", ".softirqentry.text"
#define INIT_SECTIONS ".init.*"
-#define MEM_INIT_SECTIONS ".meminit.*"
#define EXIT_SECTIONS ".exit.*"