From: Chris Metcalf Date: Thu, 23 Jul 2015 18:11:09 +0000 (-0400) Subject: tile: use free_bootmem_late() for initrd X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9fbf45ec96502ed1f3d6498c142e7e18f0cec9b2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git tile: use free_bootmem_late() for initrd commit 3f81d2447b37ac697b3c600039f2c6b628c06e21 upstream. We were previously using free_bootmem() and just getting lucky that nothing too bad happened. Signed-off-by: Chris Metcalf Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 7a5aa1a7864e..5ebe93676201 100644 --- 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