ALL_XXXINIT_SECTIONS and MEM_INIT_SECTIONS are the same. Remove the latter.
Unified · Split
| @@ -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_SECTIONS | 808 | #define ALL_XXXINIT_SECTIONS ".meminit.*" |
| 809 | 809 | ||
| 810 | #define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS | 810 | #define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS |
| 811 | #define ALL_EXIT_SECTIONS EXIT_SECTIONS | 811 | #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 | ||