Commit 32f2549f authored by Chris Metcalf's avatar Chris Metcalf Committed by Kamal Mostafa

tile: use free_bootmem_late() for initrd

commit 3f81d244 upstream.

We were previously using free_bootmem() and just getting lucky
that nothing too bad happened.
Signed-off-by: default avatarChris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent a3f89b6d
...@@ -1146,7 +1146,7 @@ static void __init load_hv_initrd(void) ...@@ -1146,7 +1146,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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment