Commit 473a45bb authored by Masahiro Yamada's avatar Masahiro Yamada

modpost: remove MEM_INIT_SECTIONS macro

ALL_XXXINIT_SECTIONS and MEM_INIT_SECTIONS are the same.
Remove the latter.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent e1dc1bfe
...@@ -805,7 +805,7 @@ static void check_section(const char *modname, struct elf_info *elf, ...@@ -805,7 +805,7 @@ static void check_section(const char *modname, struct elf_info *elf,
".pci_fixup_enable", ".pci_fixup_resume", \ ".pci_fixup_enable", ".pci_fixup_resume", \
".pci_fixup_resume_early", ".pci_fixup_suspend" ".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_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS
#define ALL_EXIT_SECTIONS EXIT_SECTIONS #define ALL_EXIT_SECTIONS EXIT_SECTIONS
...@@ -818,7 +818,6 @@ static void check_section(const char *modname, struct elf_info *elf, ...@@ -818,7 +818,6 @@ static void check_section(const char *modname, struct elf_info *elf,
".coldtext", ".softirqentry.text" ".coldtext", ".softirqentry.text"
#define INIT_SECTIONS ".init.*" #define INIT_SECTIONS ".init.*"
#define MEM_INIT_SECTIONS ".meminit.*"
#define EXIT_SECTIONS ".exit.*" #define EXIT_SECTIONS ".exit.*"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment