OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/arch/tile/kernel/setup.c
b/arch/tile/kernel/setup.c
index
99c9ff8
..
6b755d1
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)