Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4975000 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull arch/tile bugfix from Chris Metcalf:
 "This fixes a bug in freeing the initramfs memory"

* 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
  tile: use free_bootmem_late() for initrd
parents c624406f 3f81d244
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)