aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/opal-api.h
diff options
context:
space:
mode:
authorReza Arbab <[email protected]>2016-11-16 10:45:03 -0600
committerMichael Ellerman <[email protected]>2017-01-30 16:49:36 +1100
commit2a8628d41602dc9f988af051a657eef648eec5c0 (patch)
tree9bf897347e6d09c8ae99335d8dbf6c296e28abe9 /arch/powerpc/include/asm/opal-api.h
parent7656cd8e8e23ac4b059f4d96939cb73eb3121ae9 (diff)
powerpc/mm: Allow memory hotplug into an offline node
Relax the check preventing us from hotplugging into an offline node. This limitation was added in commit 482ec7c403d2 ("[PATCH] powerpc numa: Support sparse online node map") to prevent adding resources to an uninitialized node. These days, there is no harm in doing so. The addition will actually cause the node to be initialized and onlined; add_memory_resource() calls hotadd_new_pgdat() (if necessary) and node_set_online(). Signed-off-by: Reza Arbab <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/include/asm/opal-api.h')
0 files changed, 0 insertions, 0 deletions