From: Chris Metcalf Date: Thu, 23 Jul 2015 18:11:09 +0000 (-0400) Subject: tile: use free_bootmem_late() for initrd X-Git-Tag: firefly_0821_release~176^2~1378^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3f81d2447b37ac697b3c600039f2c6b628c06e21;p=firefly-linux-kernel-4.4.55.git 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: Chris Metcalf Cc: stable@vger.kernel.org --- diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 99c9ff87e018..6b755d125783 100644 --- 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)