aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2013-08-19 22:52:20 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-27 00:35:11 -0400
commitf748edafac858404be6c8dd67160c2032d97ddf5 (patch)
tree9150ad7c4de1f296c708f9761a9bc7c9d003fb43 /arch/powerpc/mm
parent9d56851e6982a99d47da55ca9181cad3117cda6b (diff)
powerpc/mm: Mark Memory Resources as busy
Memory I/O resources need to be marked as busy or else we cannot remove them when doing memory hot remove. Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 7f4bea162026..1cf9c5b67f24 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -514,7 +514,7 @@ static int add_system_ram_resources(void)
514 res->name = "System RAM"; 514 res->name = "System RAM";
515 res->start = base; 515 res->start = base;
516 res->end = base + size - 1; 516 res->end = base + size - 1;
517 res->flags = IORESOURCE_MEM; 517 res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
518 WARN_ON(request_resource(&iomem_resource, res) < 0); 518 WARN_ON(request_resource(&iomem_resource, res) < 0);
519 } 519 }
520 } 520 }