提交 3f81d244 编写于 作者: C Chris Metcalf

tile: use free_bootmem_late() for initrd

We were previously using free_bootmem() and just getting lucky
that nothing too bad happened.
Signed-off-by: NChris Metcalf <cmetcalf@ezchip.com>
Cc: stable@vger.kernel.org
上级 52721d9d
...@@ -1139,7 +1139,7 @@ static void __init load_hv_initrd(void) ...@@ -1139,7 +1139,7 @@ static void __init load_hv_initrd(void)
void __init free_initrd_mem(unsigned long begin, unsigned long end) 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) static int __init setup_initrd(char *str)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册