]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory-hotplug: export the function try_offline_node() fix
authorDavid Rientjes <rientjes@google.com>
Wed, 20 Feb 2013 02:14:22 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:34 +0000 (16:52 +1100)
commite93aff88f7746805e1e815c3539371c161dd5360
treebdb3baf50e15bc53f35ca7246c213fc144ed7cfa
parent77f9a542c8b62499643cc56ca1c6a3df3d47c994
memory-hotplug: export the function try_offline_node() fix

"memory-hotplug: export the function try_offline_node()" declares
try_offline_node() for CONFIG_MEMORY_HOTPLUG, but this function is only
defined for CONFIG_MEMORY_HOTREMOVE:

ERROR: "try_offline_node" [drivers/acpi/processor.ko] undefined!

Fix the build by definining it appropriately.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memory_hotplug.h