From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581AbdCPCDr (ORCPT ); Wed, 15 Mar 2017 22:03:47 -0400 Received: from smtprelay0094.hostedemail.com ([216.40.44.94]:51596 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751064AbdCPCCa (ORCPT ); Wed, 15 Mar 2017 22:02:30 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:355:379:541:800:960:966:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3352:3369:3865:3867:3870:3871:3872:4321:4385:5007:6261:10004:10848:11026:11473:11658:11914:12043:12296:12438:12555:12895:12986:13069:13311:13357:14181:14384:14394:14721:21080:30054,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: shock86_60ad6ae32993a X-Filterd-Recvd-Size: 2340 From: Joe Perches To: Andrew Morton , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org Subject: [PATCH 05/15] mm: page_alloc: Move __meminitdata and __initdata uses Date: Wed, 15 Mar 2017 19:00:02 -0700 Message-Id: <689086c2457a87c7bb976ccefea42e7e8ec6c741.1489628477.git.joe@perches.com> X-Mailer: git-send-email 2.10.0.rc2.1.g053435c In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's preferred to have these after the declarations. Signed-off-by: Joe Perches --- mm/page_alloc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ec9832d15d07..2933a8a11927 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -262,16 +262,16 @@ int min_free_kbytes = 1024; int user_min_free_kbytes = -1; int watermark_scale_factor = 10; -static unsigned long __meminitdata nr_kernel_pages; -static unsigned long __meminitdata nr_all_pages; -static unsigned long __meminitdata dma_reserve; +static unsigned long nr_kernel_pages __meminitdata; +static unsigned long nr_all_pages __meminitdata; +static unsigned long dma_reserve __meminitdata; #ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP -static unsigned long __meminitdata arch_zone_lowest_possible_pfn[MAX_NR_ZONES]; -static unsigned long __meminitdata arch_zone_highest_possible_pfn[MAX_NR_ZONES]; -static unsigned long __initdata required_kernelcore; -static unsigned long __initdata required_movablecore; -static unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES]; +static unsigned long arch_zone_lowest_possible_pfn[MAX_NR_ZONES] __meminitdata; +static unsigned long arch_zone_highest_possible_pfn[MAX_NR_ZONES] __meminitdata; +static unsigned long required_kernelcore __initdata; +static unsigned long required_movablecore __initdata; +static unsigned long zone_movable_pfn[MAX_NUMNODES] __meminitdata; static bool mirrored_kernelcore; /* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */ -- 2.10.0.rc2.1.g053435c