summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2013-02-23 04:32:54 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-24 05:50:12 +0400
commitbbc76be67c2c0c12548937a07ea3643c32a95b8c (patch)
treea0a7087d26b94a58a7a37a4f6574165dc99f7eb4 /include
parent6677e3eaf4d78abd7b09133414c05dc3ec353e7f (diff)
downloadlinux-bbc76be67c2c0c12548937a07ea3643c32a95b8c.tar.xz
memory-hotplug: remove redundant codes
offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com> Reviewed-by: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Jiang Liu <jiang.liu@huawei.com> Cc: Jianguo Wu <wujianguo@huawei.com> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: Wu Jianguo <wujianguo@huawei.com> Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions