mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
tile: use free_bootmem_late() for initrd
commit 3f81d2447b 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
56e8479a04
commit
bec2057fee
@@ -1139,7 +1139,7 @@ static void __init load_hv_initrd(void)
|
|||||||
|
|
||||||
void __init free_initrd_mem(unsigned long begin, unsigned long end)
|
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)
|
static int __init setup_initrd(char *str)
|
||||||
|
|||||||
Reference in New Issue
Block a user