summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2011-03-15 10:59:02 +0530
committerJiri Kosina <jkosina@suse.cz>2011-04-10 17:01:03 +0200
commit58c2ee4007bea04cc37041fcbd380fadb7b7be82 (patch)
treebecfb04e800b3a204a06cb31786e759d432738fc /mm/page_alloc.c
parent8620d81fadc0747f567909aa7ae2eeb7135a64e9 (diff)
downloadlwn-58c2ee4007bea04cc37041fcbd380fadb7b7be82.tar.gz
lwn-58c2ee4007bea04cc37041fcbd380fadb7b7be82.zip
mm: Fix section mismatch for setup_zone_pageset()
build_all_zonelists() which is not __meminit, calls setup_zone_pageset(). Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 7945247b1e53..48c9737ad49a 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3448,7 +3448,7 @@ static void setup_pagelist_highmark(struct per_cpu_pageset *p,
pcp->batch = PAGE_SHIFT * 8;
}
-static __meminit void setup_zone_pageset(struct zone *zone)
+static void setup_zone_pageset(struct zone *zone)
{
int cpu;