Skip to content

Commit 473a45b

Browse files
committed
modpost: remove MEM_INIT_SECTIONS macro
ALL_XXXINIT_SECTIONS and MEM_INIT_SECTIONS are the same. Remove the latter. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent e1dc1bf commit 473a45b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/mod/modpost.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ static void check_section(const char *modname, struct elf_info *elf,
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,
818818
".coldtext", ".softirqentry.text"
819819

820820
#define INIT_SECTIONS ".init.*"
821-
#define MEM_INIT_SECTIONS ".meminit.*"
822821

823822
#define EXIT_SECTIONS ".exit.*"
824823

0 commit comments

Comments
 (0)