summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2011-05-25 02:11:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 17:39:08 +0200
commit839a4fcc8af7412be2efd11f0bd0504757f79f08 (patch)
tree8387ca9f25f2896dda53c222cd6c7a7cc41b9d74 /net
parentx86,mm: make pagefault killable (diff)
downloadlinux-839a4fcc8af7412be2efd11f0bd0504757f79f08.tar.xz
linux-839a4fcc8af7412be2efd11f0bd0504757f79f08.zip
mm, mem-hotplug: fix section mismatch. setup_per_zone_inactive_ratio() should be __meminit.
Commit bce7394a3e ("page-allocator: reset wmark_min and inactive ratio of zone when hotplug happens") introduced invalid section references. Now, setup_per_zone_inactive_ratio() is marked __init and then it can't be referenced from memory hotplug code. This patch marks it as __meminit and also marks caller as __ref. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Cc: Yasunori Goto <y-goto@jp.fujitsu.com> Cc: Rik van Riel <riel@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions