Skip to content

Commit f748eda

Browse files
nfontozbenh
authored andcommitted
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>
1 parent 9d56851 commit f748eda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/powerpc/mm/mem.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ static int add_system_ram_resources(void)
514514
res->name = "System RAM";
515515
res->start = base;
516516
res->end = base + size - 1;
517-
res->flags = IORESOURCE_MEM;
517+
res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
518518
WARN_ON(request_resource(&iomem_resource, res) < 0);
519519
}
520520
}

0 commit comments

Comments
 (0)