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
805 ".pci_fixup_enable", ".pci_fixup_resume", \805 ".pci_fixup_enable", ".pci_fixup_resume", \
806 ".pci_fixup_resume_early", ".pci_fixup_suspend"806 ".pci_fixup_resume_early", ".pci_fixup_suspend"
807 807
808#define ALL_XXXINIT_SECTIONS MEM_INIT_SECTIONS808#define ALL_XXXINIT_SECTIONS ".meminit.*"
809 809
810#define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS810#define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS
811#define ALL_EXIT_SECTIONS EXIT_SECTIONS811#define ALL_EXIT_SECTIONS EXIT_SECTIONS
@@ -818,7 +818,6 @@ static void check_section(const char *modname, struct elf_info *elf, · 6 unmodified lines
818 ".coldtext", ".softirqentry.text"818 ".coldtext", ".softirqentry.text"
819 819
820#define INIT_SECTIONS ".init.*"820#define INIT_SECTIONS ".init.*"
821#define MEM_INIT_SECTIONS ".meminit.*"
822 821
823#define EXIT_SECTIONS ".exit.*"822#define EXIT_SECTIONS ".exit.*"
824 823