diff options
Diffstat (limited to 'mm/sparse.c')
-rw-r--r-- | mm/sparse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/sparse.c b/mm/sparse.c index 38cad8fd7397..d1b48b691ac8 100644 --- a/mm/sparse.c +++ b/mm/sparse.c | |||
@@ -5,10 +5,12 @@ | |||
5 | #include <linux/slab.h> | 5 | #include <linux/slab.h> |
6 | #include <linux/mmzone.h> | 6 | #include <linux/mmzone.h> |
7 | #include <linux/bootmem.h> | 7 | #include <linux/bootmem.h> |
8 | #include <linux/compiler.h> | ||
8 | #include <linux/highmem.h> | 9 | #include <linux/highmem.h> |
9 | #include <linux/export.h> | 10 | #include <linux/export.h> |
10 | #include <linux/spinlock.h> | 11 | #include <linux/spinlock.h> |
11 | #include <linux/vmalloc.h> | 12 | #include <linux/vmalloc.h> |
13 | |||
12 | #include "internal.h" | 14 | #include "internal.h" |
13 | #include <asm/dma.h> | 15 | #include <asm/dma.h> |
14 | #include <asm/pgalloc.h> | 16 | #include <asm/pgalloc.h> |
@@ -461,7 +463,7 @@ static struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) | |||
461 | } | 463 | } |
462 | #endif | 464 | #endif |
463 | 465 | ||
464 | void __attribute__((weak)) __meminit vmemmap_populate_print_last(void) | 466 | void __weak __meminit vmemmap_populate_print_last(void) |
465 | { | 467 | { |
466 | } | 468 | } |
467 | 469 | ||