summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorPaul Mundt2011-04-15 00:21:57 +0200
committerLinus Torvalds2011-04-15 01:06:54 +0200
commit9f6ae448bfc6cdf40279f43bb0b4fd159edc4e0a (patch)
tree5878f724ac39a5a28127fecc912ff76621d2665d /mm/vmstat.c
parentfs/partitions/ldm.c: fix oops caused by corrupted partition table (diff)
downloadkernel-qcow2-linux-9f6ae448bfc6cdf40279f43bb0b4fd159edc4e0a.tar.gz
kernel-qcow2-linux-9f6ae448bfc6cdf40279f43bb0b4fd159edc4e0a.tar.xz
kernel-qcow2-linux-9f6ae448bfc6cdf40279f43bb0b4fd159edc4e0a.zip
mm/page_alloc.c: silence build_all_zonelists() section mismatch
The memory hotplug case involves calling to build_all_zonelists() which in turns calls in to setup_zone_pageset(). The latter is marked __meminit while build_all_zonelists() itself has no particular annotation. build_all_zonelists() is only handed a non-NULL pointer in the case of memory hotplug through an existing __meminit path, so the setup_zone_pageset() reference is always safe. The options as such are either to flag build_all_zonelists() as __ref (as per __build_all_zonelists()), or to simply discard the __meminit annotation from setup_zone_pageset(). Signed-off-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Mel Gorman <mel@csn.ul.ie> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions