summaryrefslogtreecommitdiff
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-07-23 21:11:09 +0300
committerChris Metcalf <cmetcalf@ezchip.com>2015-07-23 21:11:09 +0300
commit3f81d2447b37ac697b3c600039f2c6b628c06e21 (patch)
treebe75aeb24820392f8f59168301f2c62e68c51f8e /arch/tile
parent52721d9d3334c1cb1f76219a161084094ec634dc (diff)
downloadlinux-3f81d2447b37ac697b3c600039f2c6b628c06e21.tar.xz
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 <cmetcalf@ezchip.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
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)