diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-07-23 21:11:09 +0300 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2016-03-21 04:17:47 +0300 |
commit | 6baad56095ca1d3acd9b574e45f95b636b1f62ed (patch) | |
tree | e4d4456a9b0ade27630af04246f92b016e6d21fe /arch | |
parent | c5b2efe0f0548f76365a8e7f0f3b23be7bc4cc72 (diff) | |
download | linux-6baad56095ca1d3acd9b574e45f95b636b1f62ed.tar.xz |
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 <cmetcalf@ezchip.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'arch')
-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 fd107ab7dd26..c40f8062e3a9 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c @@ -972,7 +972,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 |