Skip to content

Commit

Permalink
mm: Fix section mismatch for setup_zone_pageset()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nikanth Karthikesan authored and Jiri Kosina committed Apr 10, 2011
1 parent 8620d81 commit 58c2ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 58c2ee4

Please sign in to comment.