summaryrefslogtreecommitdiffstats
path: root/kernel/rcupdate.c
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2008-06-04 08:30:54 +1000
committerPaul Mackerras <paulus@samba.org>2008-06-09 11:32:41 +1000
commit0d5799449f0f373ca12681d86c941ae464146a37 (patch)
treecf61fc411adac7661c7a69ccef1dc6a171cf473e /kernel/rcupdate.c
parent420b5eeaee5b877829c4f0a514a5ad21448596af (diff)
downloadop-kernel-dev-0d5799449f0f373ca12681d86c941ae464146a37.zip
op-kernel-dev-0d5799449f0f373ca12681d86c941ae464146a37.tar.gz
[POWERPC] Make walk_memory_resource available with MEMORY_HOTPLUG=n
The ehea driver was recently changed[1] to use walk_memory_resource() to detect the system's memory layout. However, walk_memory_resource() is available only when memory hotplug is enabled. So CONFIG_EHEA was made to depend on MEMORY_HOTPLUG [2], but it is inappropriate for a network driver to have such a dependency. Make the declaration of walk_memory_resource() and its powerpc implementation (ehea is powerpc-specific) unconditionally available. [1] 48cfb14f8b89d4d5b3df6c16f08b258686fb12ad "ehea: Add DLPAR memory remove support" [2] fb7b6ca2b6b7c23b52be143bdd5f55a23b9780c8 "ehea: Add dependency to Kconfig" Signed-off-by: Nathan Lynch <ntl@pobox.com> Acked-by: Badari Pulavarty <pbadari@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel/rcupdate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud