projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d56851
)
powerpc/mm: Mark Memory Resources as busy
author
Nathan Fontenot
<nfont@linux.vnet.ibm.com>
Tue, 20 Aug 2013 02:52:20 +0000
(21:52 -0500)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 27 Aug 2013 04:35:11 +0000
(14:35 +1000)
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>
arch/powerpc/mm/mem.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/mem.c
b/arch/powerpc/mm/mem.c
index
7f4bea1
..
1cf9c5b
100644
(file)
--- a/
arch/powerpc/mm/mem.c
+++ b/
arch/powerpc/mm/mem.c
@@
-514,7
+514,7
@@
static int add_system_ram_resources(void)
res->name = "System RAM";
res->start = base;
res->end = base + size - 1;
- res->flags = IORESOURCE_MEM;
+ res->flags = IORESOURCE_MEM
| IORESOURCE_BUSY
;
WARN_ON(request_resource(&iomem_resource, res) < 0);
}
}