summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2013-02-23 01:32:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-24 02:50:12 +0100
commitbbc76be67c2c0c12548937a07ea3643c32a95b8c (patch)
treea0a7087d26b94a58a7a37a4f6574165dc99f7eb4 /drivers/firmware
parentmemory-hotplug: check whether all memory blocks are offlined or not when remo... (diff)
downloadlinux-bbc76be67c2c0c12548937a07ea3643c32a95b8c.tar.xz
linux-bbc76be67c2c0c12548937a07ea3643c32a95b8c.zip
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 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions