summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2018-04-05 19:23:12 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-06 00:36:25 -0400
commit7f16f91fdfce694493e539bff17acaedaebc366d (patch)
treef5969654111f387fb4dc21ee00700c9ed8258e00 /mm/page_alloc.c
parenta5c6d6509342785bef53bf9508e1842b303f1878 (diff)
mm, page_alloc: move mirrored_kernelcore to __meminitdata
mirrored_kernelcore can be in __meminitdata, so move it there. At the same time, fixup section specifiers to be after the name of the variable per checkpatch. Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1802121623280.179479@chino.kir.corp.google.com Signed-off-by: David Rientjes <rientjes@google.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Mike Kravetz <mike.kravetz@oracle.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 766ffb5fa94b..86b7f0430e02 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -265,19 +265,19 @@ int min_free_kbytes = 1024;
265int user_min_free_kbytes = -1; 265int user_min_free_kbytes = -1;
266int watermark_scale_factor = 10; 266int watermark_scale_factor = 10;
267 267
268static unsigned long __meminitdata nr_kernel_pages; 268static unsigned long nr_kernel_pages __meminitdata;
269static unsigned long __meminitdata nr_all_pages; 269static unsigned long nr_all_pages __meminitdata;
270static unsigned long __meminitdata dma_reserve; 270static unsigned long dma_reserve __meminitdata;
271 271
272#ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP 272#ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP
273static unsigned long __meminitdata arch_zone_lowest_possible_pfn[MAX_NR_ZONES]; 273static unsigned long arch_zone_lowest_possible_pfn[MAX_NR_ZONES] __meminitdata;
274static unsigned long __meminitdata arch_zone_highest_possible_pfn[MAX_NR_ZONES]; 274static unsigned long arch_zone_highest_possible_pfn[MAX_NR_ZONES] __meminitdata;
275static unsigned long __initdata required_kernelcore; 275static unsigned long required_kernelcore __initdata;
276static unsigned long required_kernelcore_percent __initdata; 276static unsigned long required_kernelcore_percent __initdata;
277static unsigned long __initdata required_movablecore; 277static unsigned long required_movablecore __initdata;
278static unsigned long required_movablecore_percent __initdata; 278static unsigned long required_movablecore_percent __initdata;
279static unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES]; 279static unsigned long zone_movable_pfn[MAX_NUMNODES] __meminitdata;
280static bool mirrored_kernelcore; 280static bool mirrored_kernelcore __meminitdata;
281 281
282/* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */ 282/* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */
283int movable_zone; 283int movable_zone;