projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52721d9
)
tile: use free_bootmem_late() for initrd
author
Chris Metcalf
<cmetcalf@ezchip.com>
Thu, 23 Jul 2015 18:11:09 +0000
(14:11 -0400)
committer
Chris Metcalf
<cmetcalf@ezchip.com>
Thu, 23 Jul 2015 18:11:09 +0000
(14:11 -0400)
We were previously using free_bootmem() and just getting lucky
that nothing too bad happened.
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Cc: stable@vger.kernel.org
arch/tile/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/kernel/setup.c
b/arch/tile/kernel/setup.c
index 99c9ff87e0187502179f8012afa5bd54309d2eb9..6b755d125783f45b05de02e3fe5f7b5e32d1af45 100644
(file)
--- a/
arch/tile/kernel/setup.c
+++ b/
arch/tile/kernel/setup.c
@@
-1139,7
+1139,7
@@
static void __init load_hv_initrd(void)
void __init free_initrd_mem(unsigned long begin, unsigned long end)
{
- free_bootmem(__pa(begin), end - begin);
+ free_bootmem
_late
(__pa(begin), end - begin);
}
static int __init setup_initrd(char *str)