History

modpost: remove MEM_INIT_SECTIONS macro

ALL_XXXINIT_SECTIONS and MEM_INIT_SECTIONS are the same. Remove the latter.

Masahiro Yamada committed 3 years ago

Commit 473a45b1 parent e1dc1bf1 file · +1 −2Browse files

Showing the changes to scripts/mod (1 of 1 file). Show all

Unified · Split

scripts/mod/modpost.c+1−2
@@ -805,7 +805,7 @@ static void check_section(const char *modname, struct elf_info *elf, · 804 unmodified lines
805805 ".pci_fixup_enable", ".pci_fixup_resume", \
806806 ".pci_fixup_resume_early", ".pci_fixup_suspend"
807807
808−#define ALL_XXXINIT_SECTIONS MEM_INIT_SECTIONS
808+#define ALL_XXXINIT_SECTIONS ".meminit.*"
809809
810810 #define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS
811811 #define ALL_EXIT_SECTIONS EXIT_SECTIONS
@@ -818,7 +818,6 @@ static void check_section(const char *modname, struct elf_info *elf, · 6 unmodified lines
818818 ".coldtext", ".softirqentry.text"
819819
820820 #define INIT_SECTIONS ".init.*"
821−#define MEM_INIT_SECTIONS ".meminit.*"
822821
823822 #define EXIT_SECTIONS ".exit.*"
824823