Skip to content

Commit

Permalink
tile: use free_bootmem_late() for initrd
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Chris Metcalf committed Jul 23, 2015
1 parent 52721d9 commit 3f81d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/tile/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3f81d24

Please sign in to comment.