aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Metcalf2015-07-23 14:11:09 -0400
committerChris Metcalf2015-07-23 14:11:09 -0400
commit3f81d2447b37ac697b3c600039f2c6b628c06e21 (patch)
treebe75aeb24820392f8f59168301f2c62e68c51f8e
parent52721d9d3334c1cb1f76219a161084094ec634dc (diff)
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
-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)