projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d831228
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 Aug 2015 19:20:30 +0000
(12:20 -0700)
commit
3f81d2447b37ac697b3c600039f2c6b628c06e21
upstream.
We were previously using free_bootmem() and just getting lucky
that nothing too bad happened.
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 7a5aa1a7864e2371900e5ccba2d2a0f507fa834e..5ebe936762016064dc7b2a2feb90e743f23b6277 100644
(file)
--- a/
arch/tile/kernel/setup.c
+++ b/
arch/tile/kernel/setup.c
@@
-1064,7
+1064,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);
}
#else