X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=mm%2Fsparse.c;h=d1b48b691ac8c20040a262337cc7e0cbf566420f;hb=44d8a7d5c1b4f9e99c5601217ce03a48412f9aac;hp=63c3ea5c119c41f62d28b05e99ba4d7882241766;hpb=ecd740c6f2f092b90b95fa35f757973589eaaca2;p=karo-tx-linux.git diff --git a/mm/sparse.c b/mm/sparse.c index 63c3ea5c119c..d1b48b691ac8 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@ -5,10 +5,12 @@ #include #include #include +#include #include #include #include #include + #include "internal.h" #include #include @@ -268,7 +270,7 @@ sparse_early_usemaps_alloc_pgdat_section(struct pglist_data *pgdat, /* * A page may contain usemaps for other sections preventing the * page being freed and making a section unremovable while - * other sections referencing the usemap retmain active. Similarly, + * other sections referencing the usemap remain active. Similarly, * a pgdat can prevent a section being removed. If section A * contains a pgdat and section B contains the usemap, both * sections become inter-dependent. This allocates usemaps @@ -461,7 +463,7 @@ static struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) } #endif -void __attribute__((weak)) __meminit vmemmap_populate_print_last(void) +void __weak __meminit vmemmap_populate_print_last(void) { }