diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-07-23 14:11:09 -0400 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-08-27 13:25:45 -0400 |
commit | ba86d5813c5a676d076c2d580ddc1cbb1b013ebf (patch) | |
tree | 4b5af054334c32c4ac1357ab3db33fecfb4456a4 /arch/tile | |
parent | ed220ba145d8f966a235d04f3cda64d9c2976475 (diff) |
tile: use free_bootmem_late() for initrd
[ Upstream commit 3f81d2447b37ac697b3c600039f2c6b628c06e21 ]
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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index b9736ded06f2..656224502dfc 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c @@ -1144,7 +1144,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) |