]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory-hotplug: export the function try_offline_node() fix
authorDavid Rientjes <rientjes@google.com>
Thu, 7 Feb 2013 01:26:33 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:30 +0000 (16:46 +1100)
commit236eb619bbc775c17b32a00948e39dcd7236ea70
treee3c6a70c4aa1170a622432d0da62df4eecbf76bb
parentba17aae983805f43ba270f5a4fd6fc9f5cf91073
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